diff options
author | Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> | 2017-09-22 00:34:30 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-09-25 11:27:13 +0300 |
commit | fac7f9bf14814fd2c722eaeec18ca78be2177d84 (patch) | |
tree | 9caa4c3f69eef3f74c4adb6ec41a36f9ae0787e9 /drivers/net/wireless/quantenna/qtnfmac/qlink_util.h | |
parent | 77d68147745b98c25c9400f3880906333845f230 (diff) | |
download | linux-fac7f9bf14814fd2c722eaeec18ca78be2177d84.tar.xz |
qtnfmac: make "Channel change" event report full channel info
Specifically, it has to report center frequency, secondary center
frequency (for 80+80) and BW.
Introduce channel definition structure to qlink and modify channel
change event processing function accordingly.
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/qlink_util.h')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/qlink_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/qlink_util.h b/drivers/net/wireless/quantenna/qtnfmac/qlink_util.h index de06c1e20b5b..5e49a8a09977 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/qlink_util.h +++ b/drivers/net/wireless/quantenna/qtnfmac/qlink_util.h @@ -19,6 +19,7 @@ #include <linux/types.h> #include <linux/skbuff.h> +#include <net/cfg80211.h> #include "qlink.h" @@ -62,5 +63,8 @@ static inline void qtnf_cmd_skb_put_tlv_u16(struct sk_buff *skb, u16 qlink_iface_type_to_nl_mask(u16 qlink_type); u8 qlink_chan_width_mask_to_nl(u16 qlink_mask); +void qlink_chandef_q2cfg(struct wiphy *wiphy, + const struct qlink_chandef *qch, + struct cfg80211_chan_def *chdef); #endif /* _QTN_FMAC_QLINK_UTIL_H_ */ |