qcacmn: Handle SR Enable vendor command
Handle SR enable vendor command as part of which send PD threshold value provided by userspace check the range of the provided threshold, if threshold lies with in SRG or NON-SRG range then provide the threshold sent by userspace else send the MAX of SRG and NON-SRG offset advertised by AP. Change-Id: I428a933cc324446fdb4f18f535f1b78228d504fa CRs-Fixed: 3304779
This commit is contained in:

committed by
Madan Koyyalamudi

parent
58ccce90fb
commit
663294c0f3
@@ -344,6 +344,7 @@ struct vdev_mlme_proto {
|
||||
* @he_spr_sr_ctrl: Spatial reuse SR control
|
||||
* @he_spr_non_srg_pd_max_offset: Non-SRG PD max offset
|
||||
* @he_spr_enabled: Spatial reuse enabled or not
|
||||
* @pd_threshold: pd threshold sent by userspace
|
||||
*/
|
||||
struct vdev_mlme_mgmt_generic {
|
||||
uint32_t rts_threshold;
|
||||
@@ -370,10 +371,11 @@ struct vdev_mlme_mgmt_generic {
|
||||
uint8_t bssid[QDF_MAC_ADDR_SIZE];
|
||||
uint32_t phy_mode;
|
||||
bool special_vdev_mode;
|
||||
#ifdef WLAN_FEATURE_11AX
|
||||
#ifdef WLAN_FEATURE_SR
|
||||
uint8_t he_spr_sr_ctrl;
|
||||
uint8_t he_spr_non_srg_pd_max_offset;
|
||||
bool he_spr_enabled;
|
||||
int32_t pd_threshold;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user