qcacld-3.0: Update the ini params according to the BDF setting
Currently the driver just start the vdev according to the ini params, without consdering the tx, rx chainmask supported by the FW per band, per mac, which can lead to connection in 2x2, even though FW is not capable of 2 antennas on a particular band. Fix is to intersect both the tx, rx chainmask for both bands, and change the ini to minimum of the nss supported by ini, and the BDF setting of the chains. Change-Id: Ib0e9bac19959bbcf9bade7dbd78674be4099a23d CRs-Fixed: 2414103
This commit is contained in:

committed by
nshrivas

parent
d8546bb3eb
commit
fa7ad0a453
@@ -834,6 +834,20 @@ struct wlan_mlme_he_caps {
|
||||
};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* struct wlan_mlme_chain_cfg - Chain info related structure
|
||||
* @max_tx_chains_2g: max tx chains supported in 2.4ghz band
|
||||
* @max_rx_chains_2g: max rx chains supported in 2.4ghz band
|
||||
* @max_tx_chains_5g: max tx chains supported in 5ghz band
|
||||
* @max_rx_chains_5g: max rx chains supported in 5ghz band
|
||||
*/
|
||||
struct wlan_mlme_chain_cfg {
|
||||
uint8_t max_tx_chains_2g;
|
||||
uint8_t max_rx_chains_2g;
|
||||
uint8_t max_tx_chains_5g;
|
||||
uint8_t max_rx_chains_5g;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wlan_mlme_rates - RATES related config items
|
||||
* @cfpPeriod: cfp period info
|
||||
|
Reference in New Issue
Block a user