qcacmn: Add peer assoc and service ready param for hecap_info_internal

'hecap_info_internal' has been added to indicate support for 11ax
proprietary PHY features: 400ns SGI support in 1X/2X LTF and 2X LTF
support in 160/80+80MHz modes. Added the corresponding peer assoc
and service ready parameter.

Change-Id: I34ead9278d8d84ecbc5525867f1584f8c8a4d7b8
CRs-fixed: 2414163
This commit is contained in:
Rhythm Patwa 2019-03-12 00:00:14 -07:00 • committed by nshrivas
commit e409a8fd44
3 changed files with 6 additions and 0 deletions

View file

@ -152,6 +152,7 @@ struct wlan_psoc_host_ppe_threshold {
* @rx_chain_mask_5G: Valid Receive chain mask
* @he_cap_phy_info_2G: 2G HE capability phy field
* @he_cap_phy_info_5G: 5G HE capability phy field
* @he_cap_info_internal: HE PHY proprietary feature capability
* @he_ppet2G: 2G HE PPET info
* @he_ppet5G: 5G HE PPET info
* @chainmask_table_id: chain mask table id
@ -187,6 +188,7 @@ struct wlan_psoc_host_mac_phy_caps {
uint32_t rx_chain_mask_5G;
uint32_t he_cap_phy_info_2G[PSOC_HOST_MAX_PHY_SIZE];
uint32_t he_cap_phy_info_5G[PSOC_HOST_MAX_PHY_SIZE];
uint32_t he_cap_info_internal;
struct wlan_psoc_host_ppe_threshold he_ppet2G;
struct wlan_psoc_host_ppe_threshold he_ppet5G;
uint32_t chainmask_table_id;

View file

@ -1271,6 +1271,7 @@ typedef struct {
* @peer_he_cap_macinfo: Peer HE Cap MAC info
* @peer_he_ops: Peer HE operation info
* @peer_he_cap_phyinfo: Peer HE Cap PHY info
* @peer_he_cap_info_internal: Peer HE Proprietary PHY capability info
* @peer_he_mcs_count: Peer HE MCS TX/RX MAP count
* @peer_he_rx_mcs_set: Peer HE RX MCS MAP
* @peer_he_tx_mcs_set: Peer HE TX MCS MAP
@ -1330,6 +1331,7 @@ struct peer_assoc_params {
uint32_t peer_he_cap_macinfo[WMI_HOST_MAX_HECAP_MAC_SIZE];
uint32_t peer_he_ops;
uint32_t peer_he_cap_phyinfo[WMI_HOST_MAX_HECAP_PHY_SIZE];
uint32_t peer_he_cap_info_internal;
uint32_t peer_he_mcs_count;
uint32_t peer_he_rx_mcs_set[WMI_HOST_MAX_HE_RATE_SET];
uint32_t peer_he_tx_mcs_set[WMI_HOST_MAX_HE_RATE_SET];

View file

@ -2178,6 +2178,7 @@ static QDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle,
param->peer_he_cap_macinfo[WMI_HOST_HECAP_MAC_WORD1];
cmd->peer_he_cap_info_ext =
param->peer_he_cap_macinfo[WMI_HOST_HECAP_MAC_WORD2];
cmd->peer_he_cap_info_internal = param->peer_he_cap_info_internal;
cmd->peer_he_ops = param->peer_he_ops;
qdf_mem_copy(&cmd->peer_he_cap_phy, &param->peer_he_cap_phyinfo,
sizeof(param->peer_he_cap_phyinfo));
@ -9288,6 +9289,7 @@ static QDF_STATUS extract_mac_phy_cap_service_ready_ext_tlv(
param->he_cap_info_5G[WMI_HOST_HECAP_MAC_WORD2] =
mac_phy_caps->he_cap_info_5G_ext;
param->he_supp_mcs_5G = mac_phy_caps->he_supp_mcs_5G;
param->he_cap_info_internal = mac_phy_caps->he_cap_info_internal;
param->tx_chain_mask_5G = mac_phy_caps->tx_chain_mask_5G;
param->rx_chain_mask_5G = mac_phy_caps->rx_chain_mask_5G;
qdf_mem_copy(&param->he_cap_phy_info_2G,