qcacmn: Provide WMI support for AP channel switching enhancements

Provide WMI support for AP channel switching enhancements.

As part of FR50393, AP is provided with the ability to notify
capable connected peers to follow it to the new channel bandwidth.

This change provides WMI support for sending required parameters to
the firmware to update the peer list internally with the MAC address
of the capable peer along with it's new channel width.

Change-Id: I0696efd2b1c883d15de23364677050618f114743
CRs-Fixed: 2316625
This commit is contained in:
Aditya Sathish
2018-10-15 22:44:58 +05:30
committed by nshrivas
parent a31a11a628
commit f47172a762
3 changed files with 27 additions and 0 deletions

View File

@@ -3089,7 +3089,28 @@ struct set_qdepth_thresh_params {
msduq_update_params update_params[QDEPTH_THRESH_MAX_UPDATES];
};
/**
* struct peer_chan_width_switch_info - Peer channel width capability params
* @mac_addr: MAC address of peer
* @chan_width: Max supported channel width of peer
* (enum ieee80211_cwm_width)
*/
struct peer_chan_width_switch_info {
uint8_t mac_addr[IEEE80211_ADDR_LEN];
uint32_t chan_width;
};
/**
* struct peer_chan_width_switch_params - Peer channel width capability wrapper
* @num_peers: Total number of peers connected to AP
* @chan_width_peer_list: List of capabilities for all connected peers
*/
struct peer_chan_width_switch_params {
uint32_t num_peers;
struct peer_chan_width_switch_info *chan_width_peer_list;
};
/**
* struct config_ratemask_params - ratemask config parameters