qtnfmac: allow to configure channel, BW, HT/VHT caps
v2 cover qtnfmac: allow to configure channel, BW, HT/VHT caps
From: Igor Mitsyanko <[email protected]>
This patchset has a goal to make operational parameters (channel, BW, HT/VHT capabilities) configuration possible for qtnfmac driver.
It was part of bigger changeset when it was V1, rest are already applied.
Changelist V1->V2:
PATCH 8:
- fix a typo causing initialization of HT capabilities with VHT data.
Igor Mitsyanko (9):
qtnfmac: use per-band HT/VHT info from wireless device
qtnfmac: initialize HT/VHT caps "can override" masks
qtnfmac: get rid of PHYMODE capabilities flags
qtnfmac: extend "IE set" TLV to include frame type info
qtnfmac: SCAN results: retreive frame type information from "IE set"
TLV
qtnfmac: convert "Append IEs" command to QTN_TLV_ID_IE_SET usage
qtnfmac: configure and start AP interface with a single command
qtnfmac: include HTCAP and VHTCAP into config AP command
qtnfmac: pass all CONNECT cmd params to wireless card for processing
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 64 +---- drivers/net/wireless/quantenna/qtnfmac/commands.c | 276 +++++++++++++++------- drivers/net/wireless/quantenna/qtnfmac/commands.h | 9 +- drivers/net/wireless/quantenna/qtnfmac/core.c | 3 +- drivers/net/wireless/quantenna/qtnfmac/core.h | 5 +- drivers/net/wireless/quantenna/qtnfmac/event.c | 83 ++++--- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 138 ++++++----- 7 files changed, 330 insertions(+), 248 deletions(-)
Signature · 1 line
2.9.5
PATCH v2 1/9 qtnfmac: use per-band HT/VHT info from wireless device
From: Igor Mitsyanko <[email protected]>
HT/VHT capabilities must be reported per each band supported by a radio, not for all bands on a radio. Furthermore, driver better not assume any capabilities and just use whetever is reported by device itself.
To support this, convert "get channels" command into "get band info" command. Difference is that it may also carry HT/VHT capabilities along with channels information.
While at it, also add "num_bitrates" field to "get band info" command, for future use.
--- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 30 +-------- drivers/net/wireless/quantenna/qtnfmac/commands.c | 77 +++++++++++++++++++---- drivers/net/wireless/quantenna/qtnfmac/commands.h | 4 +- drivers/net/wireless/quantenna/qtnfmac/core.c | 3 +- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 29 +++++---- 5 files changed, 84 insertions(+), 59 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +1 -29
@@ -823,8 +823,7 @@ static void qtnf_cfg80211_reg_notifier(struct wiphy *wiphy_in,if (!wiphy->bands[band])continue ; - ret =qtnf_cmd_get_mac_chan_info (mac, - wiphy->bands[band]); + ret =qtnf_cmd_band_info_get (mac, wiphy->bands[band]);if (ret)pr_err ("failed to get chan info for mac %u band %u\n" , mac_idx, band);
@@ -832,33 +831,6 @@ static void qtnf_cfg80211_reg_notifier(struct wiphy *wiphy_in, } } -void qtnf_band_setup_htvht_caps (struct qtnf_mac_info *macinfo, -struct ieee80211_supported_band *band) -{ -struct ieee80211_sta_ht_cap *ht_cap; -struct ieee80211_sta_vht_cap *vht_cap; - - ht_cap = &band->ht_cap; - ht_cap->ht_supported = true; -memcpy (&ht_cap->cap, &macinfo->ht_cap.cap_info, -sizeof (u16)); - ht_cap->ampdu_factor =IEEE80211_HT_MAX_AMPDU_64K ; - ht_cap->ampdu_density =IEEE80211_HT_MPDU_DENSITY_NONE ; -memcpy (&ht_cap->mcs, &macinfo->ht_cap.mcs, -sizeof (ht_cap->mcs)); - -if (macinfo->phymode_cap &QLINK_PHYMODE_AC ) { - vht_cap = &band->vht_cap; - vht_cap->vht_supported = true; -memcpy (&vht_cap->cap, - &macinfo->vht_cap.vht_cap_info,sizeof (u32)); -/* Update MCS support for VHT */ -memcpy (&vht_cap->vht_mcs, - &macinfo->vht_cap.supp_mcs, -sizeof (struct ieee80211_vht_mcs_info )); - } -} -struct wiphy *qtnf_wiphy_allocate (struct qtnf_bus *bus) {struct wiphy *wiphy;
drivers/net/wireless/quantenna/qtnfmac/commands.c +64 -13
142 lines not on this page · raw message
drivers/net/wireless/quantenna/qtnfmac/commands.h +2 -2
@@ -30,8 +30,8 @@ int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,int qtnf_cmd_send_change_intf_type (struct qtnf_vif *vif,enum nl80211_iftype iftype,u8 *mac_addr);int qtnf_cmd_send_del_intf (struct qtnf_vif *vif); -int qtnf_cmd_get_mac_chan_info (struct qtnf_wmac *mac, -struct ieee80211_supported_band *band); +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);
drivers/net/wireless/quantenna/qtnfmac/core.c +1 -2
@@ -171,7 +171,7 @@ static int qtnf_mac_init_single_band(struct wiphy *wiphy, wiphy->bands[band]->band = band; - ret =qtnf_cmd_get_mac_chan_info (mac, wiphy->bands[band]); + ret =qtnf_cmd_band_info_get (mac, wiphy->bands[band]);if (ret) {pr_err ("MAC%u: band %u: failed to get chans info: %d\n" , mac->macid, band, ret);
@@ -179,7 +179,6 @@ static int qtnf_mac_init_single_band(struct wiphy *wiphy, }qtnf_band_init_rates (wiphy->bands[band]); -qtnf_band_setup_htvht_caps (&mac->macinfo, wiphy->bands[band]);return 0 ; }
drivers/net/wireless/quantenna/qtnfmac/qlink.h +16 -13
@@ -168,11 +168,12 @@ struct qlink_auth_encr {* Commands are QLINK messages of type @QLINK_MSG_TYPE_CMD, sent by driver to * wireless network device for processing. Device is expected to send back a * reply message of type &QLINK_MSG_TYPE_CMDRSP, containing at least command -* execution status (one of &enum qlink_cmd_result) at least. Reply message +* execution status (one of &enum qlink_cmd_result). Reply message * may also contain data payload specific to the command type. * -* @QLINK_CMD_CHANS_INFO_GET: for the specified MAC and specified band, get -* number of operational channels and information on each of the channel. +* @QLINK_CMD_BAND_INFO_GET: for the specified MAC and specified band, get +* the band's description including number of operational channels and +* info on each channel, HT/VHT capabilities, supported rates etc. * This command is generic to a specified MAC, interface index must be set * to QLINK_VIFID_RSVD in command header. * @QLINK_CMD_REG_NOTIFY: notify device about regulatory domain change. This
@@ -194,7 +195,7 @@ enum qlink_cmd_type {QLINK_CMD_CHANGE_INTF =0x0017 ,QLINK_CMD_UPDOWN_INTF =0x0018 ,QLINK_CMD_REG_NOTIFY =0x0019 , -QLINK_CMD_CHANS_INFO_GET =0x001A , +QLINK_CMD_BAND_INFO_GET =0x001A ,QLINK_CMD_CHAN_SWITCH =0x001B ,QLINK_CMD_CHAN_GET =0x001C , QLINK_CMD_CONFIG_AP = 0x0020,
@@ -477,11 +478,11 @@ enum qlink_band { };/** -* struct qlink_cmd_chans_info_get - data for QLINK_CMD_CHANS_INFO_GET command +* struct qlink_cmd_band_info_get - data for QLINK_CMD_BAND_INFO_GET command * -* @band: a PHY band for which channels info is needed, one of @enum qlink_band +* @band: a PHY band for which information is queried, one of @enum qlink_band */ -struct qlink_cmd_chans_info_get { +struct qlink_cmd_band_info_get {struct qlink_cmd chdr;u8 band; } __packed;
@@ -730,17 +731,19 @@ struct qlink_resp_get_sta_info { } __packed;/** -* struct qlink_resp_get_chan_info - response for QLINK_CMD_CHANS_INFO_GET cmd +* struct qlink_resp_band_info_get - response for QLINK_CMD_BAND_INFO_GET cmd * -* @band: frequency band to which channels belong to, one of @enum qlink_band. -* @num_chans: total number of channels info data contained in reply data. -* @info: variable-length channels info. +* @band: frequency band that the response describes, one of @enum qlink_band. +* @num_chans: total number of channels info TLVs contained in reply. +* @num_bitrates: total number of bitrate TLVs contained in reply. +* @info: variable-length info portion. */ -struct qlink_resp_get_chan_info { +struct qlink_resp_band_info_get {struct qlink_resp rhdr;u8 band;u8 num_chans; -u8 rsvd[2 ]; +u8 num_bitrates; +u8 rsvd[1 ];u8 info[0 ]; } __packed;
Signature · 1 line
2.9.5
PATCH v2 2/9 qtnfmac: initialize HT/VHT caps "can override" masks
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Information on which HT/VHT capabilities can be overridden is reported per-MAC by wireless device.
--- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 2 ++ drivers/net/wireless/quantenna/qtnfmac/commands.c | 7 ++++--- drivers/net/wireless/quantenna/qtnfmac/core.h | 4 ++-- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 8 ++++---- 4 files changed, 12 insertions(+), 9 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +2 -0
@@ -925,6 +925,8 @@ int qtnf_wiphy_register(struct qtnf_hw_info *hw_info, struct qtnf_wmac *mac) wiphy->available_antennas_rx = mac->macinfo.num_rx_chain; wiphy->max_ap_assoc_sta = mac->macinfo.max_ap_assoc_sta; + wiphy->ht_capa_mod_mask = &mac->macinfo.ht_cap_mod_mask; + wiphy->vht_capa_mod_mask = &mac->macinfo.vht_cap_mod_mask;ether_addr_copy (wiphy->perm_addr, mac->macaddr);
drivers/net/wireless/quantenna/qtnfmac/commands.c +4 -3
@@ -1110,9 +1110,10 @@ qtnf_cmd_resp_proc_mac_info(struct qtnf_wmac *mac,qlink_chan_width_mask_to_nl (le16_to_cpu ( resp_info->radar_detect_widths)); -memcpy (&mac_info->ht_cap, &resp_info->ht_cap,sizeof (mac_info->ht_cap)); -memcpy (&mac_info->vht_cap, &resp_info->vht_cap, -sizeof (mac_info->vht_cap)); +memcpy (&mac_info->ht_cap_mod_mask, &resp_info->ht_cap_mod_mask, +sizeof (mac_info->ht_cap_mod_mask)); +memcpy (&mac_info->vht_cap_mod_mask, &resp_info->vht_cap_mod_mask, +sizeof (mac_info->vht_cap_mod_mask)); } static void qtnf_cmd_resp_band_fill_htcap(const u8 *info,
drivers/net/wireless/quantenna/qtnfmac/core.h +2 -2
@@ -103,8 +103,8 @@ struct qtnf_mac_info {u8 sretry_limit;u8 coverage_class;u8 radar_detect_widths; -struct ieee80211_ht_cap ht_cap; -struct ieee80211_vht_cap vht_cap; +struct ieee80211_ht_cap ht_cap_mod_mask; +struct ieee80211_vht_cap vht_cap_mod_mask;struct ieee80211_iface_limit *limits;size_t n_limits; };
drivers/net/wireless/quantenna/qtnfmac/qlink.h +4 -4
@@ -636,8 +636,8 @@ struct qlink_resp {* specified WMAC). * @num_tx_chain: Number of transmit chains used by WMAC. * @num_rx_chain: Number of receive chains used by WMAC. -* @vht_cap: VHT capabilities. -* @ht_cap: HT capabilities. +* @vht_cap_mod_mask: mask specifying which VHT capabilities can be altered. +* @ht_cap_mod_mask: mask specifying which HT capabilities can be altered. * @bands_cap: wireless bands WMAC can operate in, bitmap of &enum qlink_band. * @phymode_cap: PHY modes WMAC can operate in, bitmap of &enum qlink_phy_mode. * @max_ap_assoc_sta: Maximum number of associations supported by WMAC.
@@ -649,8 +649,8 @@ struct qlink_resp_get_mac_info {u8 dev_mac[ETH_ALEN ];u8 num_tx_chain;u8 num_rx_chain; -struct ieee80211_vht_cap vht_cap; -struct ieee80211_ht_cap ht_cap; +struct ieee80211_vht_cap vht_cap_mod_mask; +struct ieee80211_ht_cap ht_cap_mod_mask;u8 bands_cap;u8 phymode_cap;__le16 max_ap_assoc_sta;
Signature · 1 line
2.9.5
PATCH v2 3/9 qtnfmac: get rid of PHYMODE capabilities flags
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Supported WiFi operation modes are now identified per-band based on HT/VHT capabilities of each band.
--- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 3 --- drivers/net/wireless/quantenna/qtnfmac/commands.c | 1 - drivers/net/wireless/quantenna/qtnfmac/core.h | 1 - drivers/net/wireless/quantenna/qtnfmac/qlink.h | 11 ++--------- 4 files changed, 2 insertions(+), 14 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +0 -3
@@ -891,9 +891,6 @@ int qtnf_wiphy_register(struct qtnf_hw_info *hw_info, struct qtnf_wmac *mac)if (ret) goto out; -pr_info ("MAC%u: phymode=%#x radar=%#x\n" , mac->macid, - mac->macinfo.phymode_cap, mac->macinfo.radar_detect_widths); - wiphy->frag_threshold = mac->macinfo.frag_thr; wiphy->rts_threshold = mac->macinfo.rts_thr; wiphy->retry_short = mac->macinfo.sretry_limit;
drivers/net/wireless/quantenna/qtnfmac/commands.c +0 -1
@@ -1090,7 +1090,6 @@ qtnf_cmd_resp_proc_mac_info(struct qtnf_wmac *mac, mac_info = &mac->macinfo; mac_info->bands_cap = resp_info->bands_cap; - mac_info->phymode_cap = resp_info->phymode_cap;memcpy (&mac_info->dev_mac, &resp_info->dev_mac,sizeof (mac_info->dev_mac));
drivers/net/wireless/quantenna/qtnfmac/core.h +0 -1
@@ -92,7 +92,6 @@ struct qtnf_vif {struct qtnf_mac_info {u8 bands_cap; -u8 phymode_cap;u8 dev_mac[ETH_ALEN ];u8 num_tx_chain;u8 num_rx_chain;
drivers/net/wireless/quantenna/qtnfmac/qlink.h +2 -9
@@ -74,12 +74,6 @@ enum qlink_hw_capab { QLINK_HW_CAPAB_STA_INACT_TIMEOUT = BIT(1), }; -enum qlink_phy_mode { -QLINK_PHYMODE_BGN =BIT (0 ), -QLINK_PHYMODE_AN =BIT (1 ), -QLINK_PHYMODE_AC =BIT (2 ), -}; -enum qlink_iface_type {QLINK_IFTYPE_AP =1 ,QLINK_IFTYPE_STATION =2 ,
@@ -639,7 +633,6 @@ struct qlink_resp {* @vht_cap_mod_mask: mask specifying which VHT capabilities can be altered. * @ht_cap_mod_mask: mask specifying which HT capabilities can be altered. * @bands_cap: wireless bands WMAC can operate in, bitmap of &enum qlink_band. -* @phymode_cap: PHY modes WMAC can operate in, bitmap of &enum qlink_phy_mode. * @max_ap_assoc_sta: Maximum number of associations supported by WMAC. * @radar_detect_widths: bitmask of channels BW for which WMAC can detect radar. * @var_info: variable-length WMAC info data.
@@ -651,10 +644,10 @@ struct qlink_resp_get_mac_info {u8 num_rx_chain;struct ieee80211_vht_cap vht_cap_mod_mask;struct ieee80211_ht_cap ht_cap_mod_mask; -u8 bands_cap; -u8 phymode_cap;__le16 max_ap_assoc_sta;__le16 radar_detect_widths; +u8 bands_cap; +u8 rsvd[1 ];u8 var_info[0 ]; } __packed;
Signature · 1 line
2.9.5
PATCH v2 4/9 qtnfmac: extend "IE set" TLV to include frame type info
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Specifying frame type for "IE set" TLV will allow to use several TLVs in a single message.
Modify users accordingly.
--- drivers/net/wireless/quantenna/qtnfmac/commands.c | 25 +++++++--- drivers/net/wireless/quantenna/qtnfmac/event.c | 58 +++++++++++++---------- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 27 +++++++++++ 3 files changed, 80 insertions(+), 30 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/commands.c +19 -6
@@ -147,6 +147,21 @@ static struct sk_buff *qtnf_cmd_alloc_new_cmdskb(u8 macid, u8 vifid, u16 cmd_no,return cmd_skb; } +static void qtnf_cmd_tlv_ie_set_add (struct sk_buff *cmd_skb,u8 frame_type, +const u8 *buf,size_t len) +{ +struct qlink_tlv_ie_set *tlv; + + tlv = (struct qlink_tlv_ie_set *)skb_put (cmd_skb,sizeof (*tlv) + len); + tlv->hdr.type =cpu_to_le16 (QTN_TLV_ID_IE_SET ); + tlv->hdr.len =cpu_to_le16 (len +sizeof (*tlv) -sizeof (tlv->hdr)); + tlv->type = frame_type; + tlv->flags =0 ; + +if (len && buf) +memcpy (tlv->ie_data, buf, len); +} +int qtnf_cmd_send_start_ap (struct qtnf_vif *vif) {struct sk_buff *cmd_skb;
@@ -2028,9 +2043,8 @@ int qtnf_cmd_send_scan(struct qtnf_wmac *mac) }if (scan_req->ie_len !=0 ) -qtnf_cmd_skb_put_tlv_arr (cmd_skb,QTN_TLV_ID_IE_SET , - scan_req->ie, - scan_req->ie_len); +qtnf_cmd_tlv_ie_set_add (cmd_skb,QLINK_IE_SET_PROBE_REQ , + scan_req->ie, scan_req->ie_len);if (scan_req->n_channels) { n_channels = scan_req->n_channels;
@@ -2154,9 +2168,8 @@ int qtnf_cmd_send_connect(struct qtnf_vif *vif, sme->ssid_len);if (sme->ie_len !=0 ) -qtnf_cmd_skb_put_tlv_arr (cmd_skb,QTN_TLV_ID_IE_SET , - sme->ie, - sme->ie_len); +qtnf_cmd_tlv_ie_set_add (cmd_skb,QLINK_IE_SET_ASSOC_REQ , + sme->ie, sme->ie_len);qtnf_bus_lock (vif->mac->bus);
drivers/net/wireless/quantenna/qtnfmac/event.c +34 -24
95 lines not on this page · raw message
drivers/net/wireless/quantenna/qtnfmac/qlink.h +27 -0
@@ -1147,6 +1147,33 @@ struct qlink_tlv_chandef {struct qlink_chandef chan; } __packed; +enum qlink_ie_set_type { +QLINK_IE_SET_UNKNOWN , +QLINK_IE_SET_ASSOC_REQ , +QLINK_IE_SET_ASSOC_RESP , +QLINK_IE_SET_PROBE_REQ , +QLINK_IE_SET_SCAN , +QLINK_IE_SET_BEACON_HEAD , +QLINK_IE_SET_BEACON_TAIL , +QLINK_IE_SET_BEACON_IES , +QLINK_IE_SET_PROBE_RESP , +QLINK_IE_SET_PROBE_RESP_IES , +}; + +/** +* struct qlink_tlv_ie_set - data for QTN_TLV_ID_IE_SET +* +* @type: type of MGMT frame IEs belong to, one of &enum qlink_ie_set_type. +* @flags: for future use. +* @ie_data: IEs data. +*/ +struct qlink_tlv_ie_set { +struct qlink_tlv_hdr hdr; +u8 type; +u8 flags; +u8 ie_data[0 ]; +} __packed; +struct qlink_chan_stats {__le32 chan_num;__le32 cca_tx;
Signature · 1 line
2.9.5
PATCH v2 5/9 qtnfmac: SCAN results: retreive frame type information from "IE set" TLV
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
"IE set" TLV carries the same information as qlink_event_scan_result::frame_type. Convert the event to make use of TLV and drop frame_type member.
While at it, make qlink_event_scan_result structure alignement-safe.
--- drivers/net/wireless/quantenna/qtnfmac/event.c | 25 ++++++++++++------------- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 11 ++--------- 2 files changed, 14 insertions(+), 22 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/event.c +12 -13
@@ -252,13 +252,12 @@ qtnf_event_handle_scan_results(struct qtnf_vif *vif,struct cfg80211_bss *bss;struct ieee80211_channel *channel;struct wiphy *wiphy =priv_to_wiphy (vif->mac); -enum cfg80211_bss_frame_type frame_type; +enum cfg80211_bss_frame_type frame_type =CFG80211_BSS_FTYPE_UNKNOWN ;size_t payload_len;u16 tlv_type;u16 tlv_value_len;size_t tlv_full_len;const struct qlink_tlv_hdr *tlv; -const u8 *ies =NULL ;size_t ies_len =0 ;
@@ -275,17 +274,6 @@ qtnf_event_handle_scan_results(struct qtnf_vif *vif,return -EINVAL ; } -switch (sr->frame_type) { -case QLINK_BSS_FTYPE_BEACON : - frame_type =CFG80211_BSS_FTYPE_BEACON ; -break ; -case QLINK_BSS_FTYPE_PRESP : - frame_type =CFG80211_BSS_FTYPE_PRESP ; -break ; -default : - frame_type =CFG80211_BSS_FTYPE_UNKNOWN ; - } - payload_len = len -sizeof (*sr); tlv = (struct qlink_tlv_hdr *)sr->payload;
@@ -308,6 +296,17 @@ qtnf_event_handle_scan_results(struct qtnf_vif *vif, ie_len = tlv_value_len - (sizeof (*ie_set) -sizeof (ie_set->hdr)); +switch (ie_set->type) { +case QLINK_IE_SET_BEACON_IES : + frame_type =CFG80211_BSS_FTYPE_BEACON ; +break ; +case QLINK_IE_SET_PROBE_RESP_IES : + frame_type =CFG80211_BSS_FTYPE_PRESP ; +break ; +default : + frame_type =CFG80211_BSS_FTYPE_UNKNOWN ; + } +if (ie_len) { ies = ie_set->ie_data; ies_len = ie_len;
drivers/net/wireless/quantenna/qtnfmac/qlink.h +2 -9
@@ -881,12 +881,6 @@ struct qlink_event_rxmgmt {u8 frame_data[0 ]; } __packed; -enum qlink_frame_type { -QLINK_BSS_FTYPE_UNKNOWN , -QLINK_BSS_FTYPE_BEACON , -QLINK_BSS_FTYPE_PRESP , -}; -/** * struct qlink_event_scan_result - data for QLINK_EVENT_SCAN_RESULTS event *
@@ -896,7 +890,6 @@ enum qlink_frame_type {* @capab: capabilities field. * @bintval: beacon interval announced by discovered BSS. * @signal: signal strength. -* @frame_type: frame type used to get scan result, see &enum qlink_frame_type. * @bssid: BSSID announced by discovered BSS. * @ssid_len: length of SSID announced by BSS. * @ssid: SSID announced by discovered BSS.
@@ -909,10 +902,10 @@ struct qlink_event_scan_result {__le16 capab;__le16 bintval;s8 signal; -u8 frame_type; -u8 bssid[ETH_ALEN ];u8 ssid_len;u8 ssid[IEEE80211_MAX_SSID_LEN ]; +u8 bssid[ETH_ALEN ]; +u8 rsvd[2 ];u8 payload[0 ]; } __packed;
Signature · 1 line
2.9.5
PATCH v2 6/9 qtnfmac: convert "Append IEs" command to QTN_TLV_ID_IE_SET usage
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Data contained within "Append IEs" command (QLINK_CMD_MGMT_SET_APPIE) duplicates QTN_TLV_ID_IE_SET TLV. Convert the command to use that TLV instead.
--- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 12 ++++++------ drivers/net/wireless/quantenna/qtnfmac/commands.c | 17 ++++------------- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 15 --------------- 3 files changed, 10 insertions(+), 34 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +6 -6
@@ -217,10 +217,10 @@ static int qtnf_mgmt_set_appie(struct qtnf_vif *vif,int ret =0 ;if (!info->beacon_ies || !info->beacon_ies_len) { - ret =qtnf_cmd_send_mgmt_set_appie (vif,QLINK_MGMT_FRAME_BEACON , + ret =qtnf_cmd_send_mgmt_set_appie (vif,QLINK_IE_SET_BEACON_IES ,NULL ,0 ); }else { - ret =qtnf_cmd_send_mgmt_set_appie (vif,QLINK_MGMT_FRAME_BEACON , + ret =qtnf_cmd_send_mgmt_set_appie (vif,QLINK_IE_SET_BEACON_IES , info->beacon_ies, info->beacon_ies_len); }
@@ -230,11 +230,11 @@ static int qtnf_mgmt_set_appie(struct qtnf_vif *vif,if (!info->proberesp_ies || !info->proberesp_ies_len) { ret =qtnf_cmd_send_mgmt_set_appie (vif, -QLINK_MGMT_FRAME_PROBE_RESP , +QLINK_IE_SET_PROBE_RESP_IES ,NULL ,0 ); }else { ret =qtnf_cmd_send_mgmt_set_appie (vif, -QLINK_MGMT_FRAME_PROBE_RESP , +QLINK_IE_SET_PROBE_RESP_IES , info->proberesp_ies, info->proberesp_ies_len); }
@@ -244,11 +244,11 @@ static int qtnf_mgmt_set_appie(struct qtnf_vif *vif,if (!info->assocresp_ies || !info->assocresp_ies_len) { ret =qtnf_cmd_send_mgmt_set_appie (vif, -QLINK_MGMT_FRAME_ASSOC_RESP , +QLINK_IE_SET_ASSOC_RESP ,NULL ,0 ); }else { ret =qtnf_cmd_send_mgmt_set_appie (vif, -QLINK_MGMT_FRAME_ASSOC_RESP , +QLINK_IE_SET_ASSOC_RESP , info->assocresp_ies, info->assocresp_ies_len); }
drivers/net/wireless/quantenna/qtnfmac/commands.c +4 -13
@@ -395,11 +395,10 @@ int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type, const u8 *buf, size_t len) {struct sk_buff *cmd_skb; -struct qlink_cmd_mgmt_append_ie *cmd;u16 res_code =QLINK_CMD_RESULT_OK ;int ret; -if (sizeof (*cmd) + len >QTNF_MAX_CMD_BUF_SIZE ) { +if (len >QTNF_MAX_CMD_BUF_SIZE ) {pr_warn ("VIF%u.%u: %u frame is too big: %zu\n" , vif->mac->macid, vif->vifid, frame_type, len);return -E2BIG ;
@@ -407,21 +406,13 @@ int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type, cmd_skb =qtnf_cmd_alloc_new_cmdskb (vif->mac->macid, vif->vifid,QLINK_CMD_MGMT_SET_APPIE , -sizeof (*cmd)); +sizeof (struct qlink_cmd ));if (unlikely (!cmd_skb))return -ENOMEM ; -qtnf_bus_lock (vif->mac->bus); - - cmd = (struct qlink_cmd_mgmt_append_ie *)cmd_skb->data; - cmd->type = frame_type; - cmd->flags =0 ; +qtnf_cmd_tlv_ie_set_add (cmd_skb, frame_type, buf, len); -/* If len == 0 then IE buf for specified frame type -* should be cleared on EP. -*/ -if (len && buf) -qtnf_cmd_skb_put_buffer (cmd_skb, buf, len); +qtnf_bus_lock (vif->mac->bus); ret =qtnf_cmd_send (vif->mac->bus, cmd_skb, &res_code);
drivers/net/wireless/quantenna/qtnfmac/qlink.h +0 -15
@@ -299,21 +299,6 @@ struct qlink_cmd_mgmt_frame_tx { } __packed;/** -* struct qlink_cmd_mgmt_append_ie - data for QLINK_CMD_MGMT_SET_APPIE command -* -* @type: type of MGMT frame to appent requested IEs to, one of -* &enum qlink_mgmt_frame_type. -* @flags: for future use. -* @ie_data: IEs data to append. -*/ -struct qlink_cmd_mgmt_append_ie { -struct qlink_cmd chdr; -u8 type; -u8 flags; -u8 ie_data[0 ]; -} __packed; - -/** * struct qlink_cmd_get_sta_info - data for QLINK_CMD_GET_STA_INFO command * * @sta_addr: MAC address of the STA statistics is requested for.
Signature · 1 line
2.9.5
PATCH v2 7/9 qtnfmac: configure and start AP interface with a single command
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
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".
--- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 17 +----- drivers/net/wireless/quantenna/qtnfmac/commands.c | 72 +++++++++++++---------- drivers/net/wireless/quantenna/qtnfmac/commands.h | 5 +- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 5 +- 4 files changed, 47 insertions(+), 52 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +1 -16
@@ -271,26 +271,11 @@ static int qtnf_start_ap(struct wiphy *wiphy, struct net_device *dev,struct qtnf_vif *vif =qtnf_netdev_get_priv (dev);int ret; - ret =qtnf_cmd_send_config_ap (vif, settings); -if (ret) { -pr_err ("VIF%u.%u: failed to push config to FW\n" , - vif->mac->macid, vif->vifid); - goto out; - } - - ret =qtnf_mgmt_set_appie (vif, &settings->beacon); -if (ret) { -pr_err ("VIF%u.%u: failed to add IEs to beacon\n" , - vif->mac->macid, vif->vifid); - goto out; - } - - ret =qtnf_cmd_send_start_ap (vif); + ret =qtnf_cmd_send_start_ap (vif, settings);if (ret)pr_err ("VIF%u.%u: failed to start AP\n" , vif->mac->macid, vif->vifid); -out:return ret; }
drivers/net/wireless/quantenna/qtnfmac/commands.c +42 -30
110 lines not on this page · raw message
drivers/net/wireless/quantenna/qtnfmac/commands.h +2 -3
@@ -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,
drivers/net/wireless/quantenna/qtnfmac/qlink.h +2 -3
@@ -192,7 +192,6 @@ enum qlink_cmd_type {QLINK_CMD_BAND_INFO_GET =0x001A ,QLINK_CMD_CHAN_SWITCH =0x001B ,QLINK_CMD_CHAN_GET =0x001C , -QLINK_CMD_CONFIG_AP =0x0020 ,QLINK_CMD_START_AP =0x0021 ,QLINK_CMD_STOP_AP =0x0022 , QLINK_CMD_GET_STA_INFO = 0x0030,
@@ -542,7 +541,7 @@ enum qlink_hidden_ssid { };/** -* struct qlink_cmd_config_ap - data for QLINK_CMD_CONFIG_AP command +* struct qlink_cmd_start_ap - data for QLINK_CMD_START_AP command * * @beacon_interval: beacon interval * @inactivity_timeout: station's inactivity period in seconds
@@ -554,7 +553,7 @@ enum qlink_hidden_ssid {* @aen: encryption info * @info: variable configurations */ -struct qlink_cmd_config_ap { +struct qlink_cmd_start_ap {struct qlink_cmd chdr;__le16 beacon_interval;__le16 inactivity_timeout;
Signature · 1 line
2.9.5
PATCH v2 8/9 qtnfmac: include HTCAP and VHTCAP into config AP command
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Include HT/VHT caps directly into command so that they won't have to be searched for in IEs.
--- drivers/net/wireless/quantenna/qtnfmac/commands.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
drivers/net/wireless/quantenna/qtnfmac/commands.c +18 -0
@@ -266,6 +266,24 @@ int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, s->beacon.assocresp_ies, s->beacon.assocresp_ies_len); +if (s->ht_cap) { +struct qlink_tlv_hdr *tlv = (struct qlink_tlv_hdr *) +skb_put (cmd_skb,sizeof (*tlv) +sizeof (*s->ht_cap)); + + tlv->type =cpu_to_le16 (WLAN_EID_HT_CAPABILITY ); + tlv->len =cpu_to_le16 (sizeof (*s->ht_cap)); +memcpy (tlv->val, s->ht_cap,sizeof (*s->ht_cap)); + } + +if (s->vht_cap) { +struct qlink_tlv_hdr *tlv = (struct qlink_tlv_hdr *) +skb_put (cmd_skb,sizeof (*tlv) +sizeof (*s->vht_cap)); + + tlv->type =cpu_to_le16 (WLAN_EID_VHT_CAPABILITY ); + tlv->len =cpu_to_le16 (sizeof (*s->vht_cap)); +memcpy (tlv->val, s->vht_cap,sizeof (*s->vht_cap)); + } +qtnf_bus_lock (vif->mac->bus); ret =qtnf_cmd_send (vif->mac->bus, cmd_skb, &res_code);
Signature · 1 line
2.9.5
PATCH v2 9/9 qtnfmac: pass all CONNECT cmd params to wireless card for processing
In reply to [email protected]From: Igor Mitsyanko <[email protected]>
Specifically, following parameters are needed for wireless device configuration but were not available to it before:
- HT/VHT capabilities and capabilities masks.
- full channel info (not just IEEE number)
- BSSID hint
- previous BSSID for reassoc request
Move Management Frame Protection setting from common encr info structure into STA-specific .connect command parameters.
Make sure that all new qlink structure definitions are alignment-safe.
--- drivers/net/wireless/quantenna/qtnfmac/commands.c | 63 +++++++++++++++-------- drivers/net/wireless/quantenna/qtnfmac/qlink.h | 32 +++++++++--- 2 files changed, 65 insertions(+), 30 deletions(-)
drivers/net/wireless/quantenna/qtnfmac/commands.c +41 -22
@@ -221,7 +221,6 @@ int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, aen = &cmd->aen; aen->auth_type = s->auth_type; aen->privacy = !!s->privacy; - aen->mfp =0 ; aen->wpa_versions =cpu_to_le32 (s->crypto.wpa_versions); aen->cipher_group =cpu_to_le32 (s->crypto.cipher_group); aen->n_ciphers_pairwise =cpu_to_le32 (s->crypto.n_ciphers_pairwise);
@@ -2029,17 +2028,36 @@ int qtnf_cmd_send_del_sta(struct qtnf_vif *vif,return ret; } +static void qtnf_cmd_channel_tlv_add (struct sk_buff *cmd_skb, +const struct ieee80211_channel *sc) +{ +struct qlink_tlv_channel *qchan; +u32 flags =0 ; + + qchan =skb_put_zero (cmd_skb,sizeof (*qchan)); + qchan->hdr.type =cpu_to_le16 (QTN_TLV_ID_CHANNEL ); + qchan->hdr.len =cpu_to_le16 (sizeof (*qchan) -sizeof (qchan->hdr)); + qchan->center_freq =cpu_to_le16 (sc->center_freq); + qchan->hw_value =cpu_to_le16 (sc->hw_value); + +if (sc->flags &IEEE80211_CHAN_NO_IR ) + flags |=QLINK_CHAN_NO_IR ; + +if (sc->flags &IEEE80211_CHAN_RADAR ) + flags |=QLINK_CHAN_RADAR ; + + qchan->flags =cpu_to_le32 (flags); +} +int qtnf_cmd_send_scan (struct qtnf_wmac *mac) {struct sk_buff *cmd_skb;u16 res_code =QLINK_CMD_RESULT_OK ;struct ieee80211_channel *sc;struct cfg80211_scan_request *scan_req = mac->scan_req; -struct qlink_tlv_channel *qchan;int n_channels;int count =0 ;int ret; -u32 flags;if (scan_req->n_ssids >QTNF_MAX_SSID_LIST_LENGTH ) {pr_err ("MAC%u: too many SSIDs in scan request\n" , mac->macid);
@@ -2081,22 +2099,8 @@ int qtnf_cmd_send_scan(struct qtnf_wmac *mac)pr_debug ("MAC%u: scan chan=%d, freq=%d, flags=%#x\n" , mac->macid, sc->hw_value, sc->center_freq, sc->flags); - qchan =skb_put_zero (cmd_skb,sizeof (*qchan)); - flags =0 ; - - qchan->hdr.type =cpu_to_le16 (QTN_TLV_ID_CHANNEL ); - qchan->hdr.len =cpu_to_le16 (sizeof (*qchan) - -sizeof (struct qlink_tlv_hdr )); - qchan->center_freq =cpu_to_le16 (sc->center_freq); - qchan->hw_value =cpu_to_le16 (sc->hw_value); - -if (sc->flags &IEEE80211_CHAN_NO_IR ) - flags |=QLINK_CHAN_NO_IR ; -if (sc->flags &IEEE80211_CHAN_RADAR ) - flags |=QLINK_CHAN_RADAR ; - - qchan->flags =cpu_to_le32 (flags); +qtnf_cmd_channel_tlv_add (cmd_skb, sc); n_channels--; count++; }
@@ -2140,10 +2144,15 @@ int qtnf_cmd_send_connect(struct qtnf_vif *vif,ether_addr_copy (cmd->bssid, vif->bssid); -if (sme->channel) - cmd->channel =cpu_to_le16 (sme->channel->hw_value); +if (sme->bssid_hint) +ether_addr_copy (cmd->bssid_hint, sme->bssid_hint);else - cmd->channel =0 ; +eth_zero_addr (cmd->bssid_hint); + +if (sme->prev_bssid) +ether_addr_copy (cmd->prev_bssid, sme->prev_bssid); +else +eth_zero_addr (cmd->prev_bssid);if ((sme->bg_scan_period >0 ) && (sme->bg_scan_period <=QTNF_MAX_BG_SCAN_PERIOD ))
@@ -2161,11 +2170,18 @@ int qtnf_cmd_send_connect(struct qtnf_vif *vif, connect_flags |=QLINK_STA_CONNECT_USE_RRM ; cmd->flags =cpu_to_le32 (connect_flags); +memcpy (&cmd->ht_capa, &sme->ht_capa,sizeof (cmd->ht_capa)); +memcpy (&cmd->ht_capa_mask, &sme->ht_capa_mask, +sizeof (cmd->ht_capa_mask)); +memcpy (&cmd->vht_capa, &sme->vht_capa,sizeof (cmd->vht_capa)); +memcpy (&cmd->vht_capa_mask, &sme->vht_capa_mask, +sizeof (cmd->vht_capa_mask)); + cmd->pbss = sme->pbss; aen = &cmd->aen; aen->auth_type = sme->auth_type; aen->privacy = !!sme->privacy; - aen->mfp = sme->mfp; + cmd->mfp = sme->mfp; aen->wpa_versions =cpu_to_le32 (sme->crypto.wpa_versions); aen->cipher_group =cpu_to_le32 (sme->crypto.cipher_group); aen->n_ciphers_pairwise =cpu_to_le32 (sme->crypto.n_ciphers_pairwise);
@@ -2192,6 +2208,9 @@ int qtnf_cmd_send_connect(struct qtnf_vif *vif,qtnf_cmd_tlv_ie_set_add (cmd_skb,QLINK_IE_SET_ASSOC_REQ , sme->ie, sme->ie_len); +if (sme->channel) +qtnf_cmd_channel_tlv_add (cmd_skb, sme->channel); +qtnf_bus_lock (vif->mac->bus); ret =qtnf_cmd_send (vif->mac->bus, cmd_skb, &res_code);
drivers/net/wireless/quantenna/qtnfmac/qlink.h +24 -8
@@ -19,7 +19,7 @@#include <linux/ieee80211.h> -#define QLINK_PROTO_VER 5 +#define QLINK_PROTO_VER 6#define QLINK_MACID_RSVD 0xFF#define QLINK_VIFID_RSVD 0xFF
@@ -148,9 +148,9 @@ struct qlink_auth_encr {__le16 control_port_ethertype;u8 auth_type;u8 privacy; -u8 mfp;u8 control_port;u8 control_port_no_encrypt; +u8 rsvd[2 ]; } __packed;/* QLINK Command messages related definitions
@@ -404,20 +404,36 @@ enum qlink_sta_connect_flags {/** * struct qlink_cmd_connect - data for QLINK_CMD_CONNECT command * -* @flags: for future use. -* @channel: channel which should be used to connect. +* @bssid: BSSID of the BSS to connect to. +* @bssid_hint: recommended AP BSSID for initial connection to the BSS or +* 00:00:00:00:00:00 if not specified. +* @prev_bssid: previous BSSID, if specified (not 00:00:00:00:00:00) indicates +* a request to reassociate. * @bg_scan_period: period of background scan. +* @flags: one of &enum qlink_sta_connect_flags. +* @ht_capa: HT Capabilities overrides. +* @ht_capa_mask: The bits of ht_capa which are to be used. +* @vht_capa: VHT Capability overrides +* @vht_capa_mask: The bits of vht_capa which are to be used. * @aen: authentication information. -* @bssid: BSSID of the BSS to connect to. +* @mfp: whether to use management frame protection. * @payload: variable portion of connection request. */ struct qlink_cmd_connect {struct qlink_cmd chdr; -__le32 flags; -__le16 channel; +u8 bssid[ETH_ALEN ]; +u8 bssid_hint[ETH_ALEN ]; +u8 prev_bssid[ETH_ALEN ];__le16 bg_scan_period; +__le32 flags; +struct ieee80211_ht_cap ht_capa; +struct ieee80211_ht_cap ht_capa_mask; +struct ieee80211_vht_cap vht_capa; +struct ieee80211_vht_cap vht_capa_mask;struct qlink_auth_encr aen; -u8 bssid[ETH_ALEN ]; +u8 mfp; +u8 pbss; +u8 rsvd[2 ];u8 payload[0 ]; } __packed;
Signature · 1 line
2.9.5
Re: [PATCH V2 9/9] qtnfmac: pass all CONNECT cmd params to wireless card for processing
Quoted 9 lines
From: Igor Mitsyanko <[email protected]>
Specifically, following parameters are needed for wireless device configuration but were not available to it before:
- HT/VHT capabilities and capabilities masks.
- full channel info (not just IEEE number)
- BSSID hint
- previous BSSID for reassoc request
Quoted 6 lines
Move Management Frame Protection setting from common encr info structure into STA-specific .connect command parameters.
Make sure that all new qlink structure definitions are alignment-safe.
Signed-off-by Igor Mitsyanko <[email protected]>
for the whole patch set...
Regards,
Sergey
Re: [PATCH V2 1/9] qtnfmac: use per-band HT/VHT info from wireless device
In reply to [email protected]Quoted 14 lines · [email protected] writes:
From: Igor Mitsyanko <[email protected]>
HT/VHT capabilities must be reported per each band supported by a radio, not for all bands on a radio. Furthermore, driver better not assume any capabilities and just use whetever is reported by device itself.
To support this, convert "get channels" command into "get band info" command. Difference is that it may also carry HT/VHT capabilities along with channels information.
While at it, also add "
num_bitrates" field to "get band info" command, for future use.Signed-off-by Igor Mitsyanko <[email protected]>
[...]
Quoted 13 lines
drivers/net/wireless/quantenna/qtnfmac/commands.c +9
-0@@ -1241,13 +1273,32 @@ qtnf_cmd_resp_fill_channels_info(struct ieee80211_supported_band *band, chan->hw_value, chan->flags, chan->max_power, chan->max_reg_power);break ; +case WLAN_EID_HT_CAPABILITY : +if (unlikely (tlv_dlen != +sizeof (struct ieee80211_ht_cap ))) { +pr_err ("bad HTCAP TLV len %zu\n" , tlv_dlen); + goto error_ret; + } + +qtnf_cmd_resp_band_fill_htcap (tlv->val, &band->ht_cap); +break ;
drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_cmd_resp_fill_channels_info(struct ieee80211_supported_band *band, · line 1294
Quoted 10 lines
drivers/net/wireless/quantenna/qtnfmac/commands.c +10
-0+case WLAN_EID_VHT_CAPABILITY : +if (unlikely (tlv_dlen != +sizeof (struct ieee80211_vht_cap ))) { +pr_err ("bad VHTCAP TLV len %zu\n" , tlv_dlen); + goto error_ret; + } + +qtnf_cmd_resp_band_fill_vhtcap (tlv->val, + &band->vht_cap); +break ;
I'm having a hard time to believe that this in hotpath so the use of unlikely() is not really making any sense to me. No need to resend because of this, just looks strange and makes the code harder to read.
Signature · 1 line
Kalle Valo
Re: [V2,1/9] qtnfmac: use per-band HT/VHT info from wireless device
In reply to [email protected]Quoted 6 lines · Igor Mitsyanko
From: Igor Mitsyanko <[email protected]>
HT/VHT capabilities must be reported per each band supported by a radio, not for all bands on a radio. Furthermore, driver better not assume any capabilities and just use whetever is reported by device itself.
Quoted 8 lines
To support this, convert "get channels" command into "get band info" command. Difference is that it may also carry HT/VHT capabilities along with channels information.
While at it, also add "
num_bitrates" field to "get band info" command, for future use.Signed-off-by Igor Mitsyanko <[email protected]>
9 patches applied to wireless-drivers-next.git, thanks.
e294cbfda056 qtnfmac: use per-band HT/VHT info from wireless device d42df85f7d85 qtnfmac: initialize HT/VHT caps "can override" masks d1398b5b34cc qtnfmac: get rid of PHYMODE capabilities flags 18b7470f92df qtnfmac: extend "IE set" TLV to include frame type info 5face518d446 qtnfmac: SCAN results: retreive frame type information from "IE set" TLV 4d1f0fabdc45 qtnfmac: convert "Append IEs" command to QTN_TLV_ID_IE_SET usage 17011da0b8f0 qtnfmac: configure and start AP interface with a single command a3945f43761c qtnfmac: include HTCAP and VHTCAP into config AP command c9889671736c qtnfmac: pass all CONNECT cmd params to wireless card for processing
Signature · 3 lines
https://patchwork.kernel.org/patch/10033509/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches