diff options
| author | Mingcheng Zhu <mingchen@qca.qualcomm.com> | 2013-11-06 16:46:29 -0800 |
|---|---|---|
| committer | Madan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com> | 2013-11-15 13:50:34 -0800 |
| commit | 409fae2275549ebc08b8b2319bbc5e057bc3292a (patch) | |
| tree | 96d99f6512b8372e0cb6ece6c71312def19fdd5b /tools/fwdebuglog | |
| parent | 84bf64465e6729c2756b939ffeb96431d55c3947 (diff) | |
wlan: Choose the best rate and upodate the rate struct for ISOC.
1. Make the tSirRateUpdateInd backward compartable to ISOC definition
2. Calculate the rate based on NSS and phy mode.
3. Find the rate based on following rules:
a. Use OFDM/CCK if input rate <= 54mbps
b. Use HT mode if input rate less than 150 mbps (1x1) or 300 mbps (2x2)
c. Rest uses VHT
4. Following are the highlight of the algorithm to choose the rate enum:
- if both SGI rate and LGI rate are smaller than the input
rate the higher rate is chosen.
- if one GI rate is higher than the input rate the other rate is choosen.
- if both SGI and LGI rate are all larger than the input rate the
smaller GI rate is chosen.
- the rate table is for 1x1. In 2x2 case the search rate is
half of the input rate.
- For CCK premable the long premable is choosen for the mcast rate.
- For the 802.11bg case the closest floor rate is choosen.
5. The best rounded rate is choosen. If the input
rate is zero, the smallest mcast rate is choosen.
6. Save both ht_capable and vht_capable in wma_txrx_node struct.
Change-Id: Ie6f066920a179f2ab477b0d2b22bc6ff24beea1e
Diffstat (limited to 'tools/fwdebuglog')
0 files changed, 0 insertions, 0 deletions
