qtnfmac: implement extendable channel survey dump
Switch to extendable implementation of channel survey dump to make sure that any new channel statistics can be added in the future without any backwards compatibility issues. For this purpose use a separate variable length bitmap to pass the list of valid statistics in firmware response. Besides, switch to using channel frequency instead of IEEE channel number to prepare for adding support of 6GHz band. Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
bc5db734c1
commit
601ce21ff8
@@ -59,8 +59,8 @@ int qtnf_cmd_send_updown_intf(struct qtnf_vif *vif,
|
||||
bool up);
|
||||
int qtnf_cmd_reg_notify(struct qtnf_wmac *mac, struct regulatory_request *req,
|
||||
bool slave_radar, bool dfs_offload);
|
||||
int qtnf_cmd_get_chan_stats(struct qtnf_wmac *mac, u16 channel,
|
||||
struct qtnf_chan_stats *stats);
|
||||
int qtnf_cmd_get_chan_stats(struct qtnf_wmac *mac, u32 chan_freq,
|
||||
struct survey_info *survey);
|
||||
int qtnf_cmd_send_chan_switch(struct qtnf_vif *vif,
|
||||
struct cfg80211_csa_settings *params);
|
||||
int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef);
|
||||
|
Reference in New Issue
Block a user