qcacmn: Add API to extract MSD caps from cmn info field
Add API to extract MLD AP MSD capabilities from MLO IE common info field if present. This will be shared with FW via peer assoc cmd. Change-Id: I0ebcd5408a40f3314932d4a2a7e586c208af2ee5 CRs-Fixed: 3271118
This commit is contained in:

committed by
Madan Koyyalamudi

parent
534715624f
commit
9fa8fc8b46
@@ -1127,6 +1127,7 @@ struct wmi_host_tid_to_link_map_params {
|
||||
* @mlo_force_link_inactive: force the peer inactive
|
||||
* @emlsr_support: indicate if eMLSR supported
|
||||
* @emlmr_support: indicate if eMLMR supported
|
||||
* @msd_cap_support: indicate if MSD supported
|
||||
* @mld_mac: MLD mac address
|
||||
* @logical_link_index: Unique index for links of the mlo. Starts with Zero
|
||||
* @ml_peer_id: ML peer id if generated by host. Otherwise invalid peer id
|
||||
@@ -1135,6 +1136,9 @@ struct wmi_host_tid_to_link_map_params {
|
||||
* @emlsr_trans_delay_us: eMLSR Transition Delay from peer in us
|
||||
* @emlmr_delay_us: eMLMR Delay from peer in us
|
||||
* @trans_timeout_us: EML Transition Timeout in us
|
||||
* @medium_sync_duration: medium sync duration in us
|
||||
* @medium_sync_ofdm_ed_thresh: medium sync ofdm threshold in us
|
||||
* @medium_sync_max_txop_num: Max number of TXOPs
|
||||
*/
|
||||
struct peer_assoc_mlo_params {
|
||||
uint32_t mlo_enabled:1,
|
||||
@@ -1145,7 +1149,8 @@ struct peer_assoc_mlo_params {
|
||||
mlo_force_link_inactive:1,
|
||||
emlsr_support:1,
|
||||
emlmr_support:1,
|
||||
unused:25;
|
||||
msd_cap_support:1,
|
||||
unused:23;
|
||||
uint8_t mld_mac[QDF_MAC_ADDR_SIZE];
|
||||
uint32_t logical_link_index;
|
||||
uint32_t ml_peer_id;
|
||||
@@ -1154,6 +1159,9 @@ struct peer_assoc_mlo_params {
|
||||
uint16_t emlsr_trans_delay_us;
|
||||
uint16_t emlmr_delay_us;
|
||||
uint32_t trans_timeout_us;
|
||||
uint16_t medium_sync_duration;
|
||||
uint16_t medium_sync_ofdm_ed_thresh;
|
||||
uint16_t medium_sync_max_txop_num;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user