qcacmn: Add 160 MHz and 320 MHz BW support for Smart Antenna
Add 160 MHz and 320 MHz BW support for Smart Antenna. Peer connect gets rate codes for all supported BW on connecting peer as part of wmi_peer_ratecode_list_event. This changes add 320 MHz and 160 MHz BW support. Change-Id: I715dd5a64c38114fef6e17c2e2f6a526e1a716c2 CRs-Fixed: 3381648
This commit is contained in:

committed by
Madan Koyyalamudi

parent
84ec76c1aa
commit
19f2d80322
@@ -2129,22 +2129,22 @@ struct cdp_tx_completion_ppdu_user {
|
||||
uint8_t sa_is_training;
|
||||
uint32_t rssi_chain[CDP_RSSI_CHAIN_LEN];
|
||||
uint32_t sa_tx_antenna;
|
||||
/*Max rates for BW: 20MHZ, 40MHZ and 80MHZ and 160MHZ
|
||||
* |---------------------------------------|
|
||||
* | 16 bits | 16 bits | 16 bits | 16 bits |
|
||||
* | BW-1 | BW-2 | BW-3 | BW-4 |
|
||||
* | /\ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* |/ \ \ |
|
||||
* |[11|8] [5|8] \ |
|
||||
* | BW1 PADDED \ |
|
||||
* |---------------------------------------|
|
||||
/*Max rates for BW: 20MHZ, 40MHZ and 80MHZ and 160MHZ and 320MHZ
|
||||
* |-------------------------------------------------|
|
||||
* | 16 bits | 16 bits | 16 bits | 16 bits | 16 bits |
|
||||
* | BW-1 | BW-2 | BW-3 | BW-4 | BW-5 |
|
||||
* | /\ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* | / \ \ |
|
||||
* |/ \ \ |
|
||||
* |[11|8] [5|8] \ |
|
||||
* | BW1 PADDED \ |
|
||||
* |-------------------------------------------------|
|
||||
*/
|
||||
uint16_t sa_max_rates[CDP_NUM_SA_BW];
|
||||
uint16_t sa_max_rates[CDP_NUM_SA_BW + 1];
|
||||
uint32_t sa_goodput;
|
||||
/* below field is used to calculate goodput in non-training period
|
||||
* Note: As host is exposing goodput and hence current_rate_per is
|
||||
|
Reference in New Issue
Block a user