Home
last modified time | relevance | path

Searched refs:centerFrequencyIndex2 (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util_test.cpp942 …ern "C" int GetVhtChanWidth(int channelType, int centerFrequencyIndex1, int centerFrequencyIndex2);
947 int centerFrequencyIndex2 = 0; variable
948 int result = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2);
952 result = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2);
955 centerFrequencyIndex2 = 1;
956 result = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2);
959 centerFrequencyIndex2 = -1;
960 result = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.c183 static int GetVhtChanWidth(int channelType, int centerFrequencyIndex1, int centerFrequencyIndex2) in GetVhtChanWidth() argument
188 } else if (centerFrequencyIndex2 == 0) { in GetVhtChanWidth()
190 } else if (abs(centerFrequencyIndex1 - centerFrequencyIndex2) == FREQ_VALUE) { in GetVhtChanWidth()
238 int centerFrequencyIndex2 = infoElem->content[COLUMN_INDEX_TWO] & UINT8_MASK; in GetChanWidthCenterFreqVht() local
240 pcmd->channelWidth = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
245 pcmd->centerFrequency1 = GetVhtCentFreq(channelType, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/
H A Dwifi_supplicant_hal.c911 static int GetVhtChanWidth(int channelType, int centerFrequencyIndex1, int centerFrequencyIndex2) in GetVhtChanWidth() argument
916 } else if (centerFrequencyIndex2 == 0) { in GetVhtChanWidth()
918 } else if (abs(centerFrequencyIndex1 - centerFrequencyIndex2) == FREQ_VALUE) { in GetVhtChanWidth()
979 int centerFrequencyIndex2 = infoElem->content[COLUMN_INDEX_TWO] & UINT8_MASK; in GetChanWidthCenterFreqVht() local
981 pcmd->channelWidth = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
986 pcmd->centerFrequency1 = GetVhtCentFreq(channelType, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.c1116 static int GetVhtChanWidth(int channelType, int centerFrequencyIndex1, int centerFrequencyIndex2) in GetVhtChanWidth() argument
1121 } else if (centerFrequencyIndex2 == 0) { in GetVhtChanWidth()
1123 } else if (abs(centerFrequencyIndex1 - centerFrequencyIndex2) == freqValue) { in GetVhtChanWidth()
1170 int centerFrequencyIndex2 = infoElem->content[COLUMN_INDEX_TWO] & UINT8_MASK; in GetChanWidthCenterFreqVht() local
1172 pcmd->channelWidth = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
1177 pcmd->centerFrequency1 = GetVhtCentFreq(channelType, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()