qtnfmac: configure and start AP interface with a single command
Current logic artificially divides "start AP" procedure into three stages: - generic interface configuration (security, channel etc) - IE's processing - enable AP mode on interface This separation would not allow to do a proper device configuration as first stage needs to use information from IEs that are processed on a second stage. Which means first and second stages have to be meged. In that case there is no point anymore to keep third stage either, so merge all three into a single command. This new command carries all the same info as contained in "struct cfg80211_ap_settings". 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
4d1f0fabdc
commit
17011da0b8
@@ -33,9 +33,8 @@ int qtnf_cmd_send_del_intf(struct qtnf_vif *vif);
|
||||
int qtnf_cmd_band_info_get(struct qtnf_wmac *mac,
|
||||
struct ieee80211_supported_band *band);
|
||||
int qtnf_cmd_send_regulatory_config(struct qtnf_wmac *mac, const char *alpha2);
|
||||
int qtnf_cmd_send_config_ap(struct qtnf_vif *vif,
|
||||
const struct cfg80211_ap_settings *s);
|
||||
int qtnf_cmd_send_start_ap(struct qtnf_vif *vif);
|
||||
int qtnf_cmd_send_start_ap(struct qtnf_vif *vif,
|
||||
const struct cfg80211_ap_settings *s);
|
||||
int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif);
|
||||
int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg);
|
||||
int qtnf_cmd_send_mgmt_frame(struct qtnf_vif *vif, u32 cookie, u16 flags,
|
||||
|
Reference in New Issue
Block a user