qcacld-3.0: Add 320MHz for next_higher_bw and ch_width_in_mhz
As part of 320MHz bandwidth support for 11BE, add 320MHz BW for get_next_higher_bw and ch_width_in_mhz. Change-Id: Id58aaf50378805538b29d02fcb91583091aed6cf CRs-Fixed: 2934780
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
1932ac5950
işleme
954968c502
@@ -115,7 +115,12 @@ static const enum phy_ch_width get_next_higher_bw[] = {
|
||||
[CH_WIDTH_20MHZ] = CH_WIDTH_40MHZ,
|
||||
[CH_WIDTH_40MHZ] = CH_WIDTH_80MHZ,
|
||||
[CH_WIDTH_80MHZ] = CH_WIDTH_160MHZ,
|
||||
#ifndef WLAN_FEATURE_11BE
|
||||
[CH_WIDTH_160MHZ] = CH_WIDTH_INVALID
|
||||
#else
|
||||
[CH_WIDTH_160MHZ] = CH_WIDTH_320MHZ,
|
||||
[CH_WIDTH_320MHZ] = CH_WIDTH_INVALID
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -630,7 +630,7 @@ void lim_process_ap_mlm_del_sta_rsp(struct mac_context *mac,
|
||||
* segment - 80MHz.
|
||||
*
|
||||
*/
|
||||
static inline uint8_t ch_width_in_mhz(enum phy_ch_width ch_width)
|
||||
static inline uint16_t ch_width_in_mhz(enum phy_ch_width ch_width)
|
||||
{
|
||||
switch (ch_width) {
|
||||
case CH_WIDTH_40MHZ:
|
||||
@@ -645,6 +645,10 @@ static inline uint8_t ch_width_in_mhz(enum phy_ch_width ch_width)
|
||||
return 5;
|
||||
case CH_WIDTH_10MHZ:
|
||||
return 10;
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
case CH_WIDTH_320MHZ:
|
||||
return 320;
|
||||
#endif
|
||||
default:
|
||||
return 20;
|
||||
}
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle