diff options
author | Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> | 2017-09-21 14:34:31 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-09-25 11:27:14 +0300 |
commit | 9e5478b608b5853dc877ea9c80be24349bcb453f (patch) | |
tree | d5873872552c82cff76c7624af45eb91ef09e2c1 /drivers/net/wireless/quantenna/qtnfmac/commands.h | |
parent | fac7f9bf14814fd2c722eaeec18ca78be2177d84 (diff) |
qtnfmac: retrieve current channel info from EP
Do not try to cache current operational channel info in driver, this
is a potential source of synchronization issues + driver does not
really need that info.
Introduce GET_CHANNEL command and process it appropriately.
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/commands.h')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/commands.h b/drivers/net/wireless/quantenna/qtnfmac/commands.h index 783b20364296..e1bcb83d7705 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/commands.h +++ b/drivers/net/wireless/quantenna/qtnfmac/commands.h @@ -75,5 +75,6 @@ int qtnf_cmd_get_chan_stats(struct qtnf_wmac *mac, u16 channel, struct qtnf_chan_stats *stats); int qtnf_cmd_send_chan_switch(struct qtnf_wmac *mac, struct cfg80211_csa_settings *params); +int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef); #endif /* QLINK_COMMANDS_H_ */ |