/drivers/peripheral/wlan/hal/src/ |
H A D | wifi_hal_base_feature.c | 66 int32_t band, int32_t *freqs, uint32_t size, uint32_t *num) in GetValidFreqsWithBandInner() 68 if (baseFeature == NULL || freqs == NULL || size < MAX_CHANNEL_NUM || num == NULL || band < 0) { in GetValidFreqsWithBandInner() 72 return HalCmdGetValidFreqWithBand(baseFeature->ifName, band, freqs, size, num); in GetValidFreqsWithBandInner() 135 int32_t band, int32_t *freqs, uint32_t size, uint32_t *num) in GetValidFreqsWithBand() 138 int32_t ret = GetValidFreqsWithBandInner(baseFeature, band, freqs, size, num); in GetValidFreqsWithBand() 65 GetValidFreqsWithBandInner(const struct IWiFiBaseFeature *baseFeature, int32_t band, int32_t *freqs, uint32_t size, uint32_t *num) GetValidFreqsWithBandInner() argument 134 GetValidFreqsWithBand(const struct IWiFiBaseFeature *baseFeature, int32_t band, int32_t *freqs, uint32_t size, uint32_t *num) GetValidFreqsWithBand() argument
|
H A D | wifi_hal_cmd.c | 138 int32_t HalCmdGetValidFreqWithBand(const char *ifName, int32_t band, int32_t *freqs, in HalCmdGetValidFreqWithBand() argument 158 ret = GetValidFreqByBand(ifName, band, &result, size); in HalCmdGetValidFreqWithBand()
|
/drivers/hdf_core/framework/model/network/wifi/core/module/ |
H A D | wifi_base.c | 516 struct WlanBand *band, WifiHwFeatureData **featureData, struct WlanHwCapability *capability, uint32_t iee80211band) in WifiGetChannelData() 519 if (band == NULL || featureData == NULL || *featureData == NULL) { in WifiGetChannelData() 520 HDF_LOGE("%s: band or featureData is NULL", __func__); in WifiGetChannelData() 524 (*featureData)->bands[iee80211band].channelNum = band->channelCount; in WifiGetChannelData() 527 for (loop = 0; loop < band->channelCount; ++loop) { in WifiGetChannelData() 528 (*featureData)->bands[iee80211band].iee80211Channel[loop].freq = band->channels[loop].centerFreq; in WifiGetChannelData() 529 (*featureData)->bands[iee80211band].iee80211Channel[loop].flags = band->channels[loop].flags; in WifiGetChannelData() 530 (*featureData)->bands[iee80211band].iee80211Channel[loop].channel = band->channels[loop].channelId; in WifiGetChannelData() 562 struct WlanBand *band = capability->bands[IEEE80211_BAND_2GHZ]; in WifiFillHwFeature() local 563 if (band in WifiFillHwFeature() 515 WifiGetChannelData( struct WlanBand *band, WifiHwFeatureData **featureData, struct WlanHwCapability *capability, uint32_t iee80211band) WifiGetChannelData() argument 571 struct WlanBand *band = capability->bands[IEEE80211_BAND_5GHZ]; WifiFillHwFeature() local 624 GetValidFreqsWithBand(struct NetDevice *netdev, int32_t band, int32_t *freqs, uint32_t *num) GetValidFreqsWithBand() argument 1012 int32_t band; WifiCmdGetValidFreqsWithBand() local [all...] |
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_ap_iface.cpp | 67 int32_t WifiApIface::GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) in GetSupportFreqs() argument 72 instances_.size() > 0 ? instances_[0] : ifname_, band); in GetSupportFreqs()
|
H A D | wifi_sta_iface.cpp | 63 int32_t WifiStaIface::GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) in GetSupportFreqs() argument 68 ifname_, band); in GetSupportFreqs()
|
H A D | wifi_ap_iface.h | 42 int32_t GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) override;
|
H A D | wifi_sta_iface.h | 41 int32_t GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) override;
|
H A D | wifi_p2p_iface.cpp | 59 int32_t WifiP2pIface::GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) in GetSupportFreqs() argument
|
H A D | wifi_ext_iface.cpp | 59 int32_t WifiExtIface::GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) in GetSupportFreqs() argument
|
H A D | wifi_p2p_iface.h | 40 int32_t GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) override;
|
H A D | wifi_ext_iface.h | 40 int32_t GetSupportFreqs(int band, std::vector<uint32_t>& frequencies) override;
|
H A D | wifi_vendor_hal.h | 51 const std::string& ifaceName, int band);
|
H A D | wifi_vendor_hal.cpp | 217 const std::string& ifaceName, int band) in GetValidFrequenciesForBand() 222 GetIfaceHandle(ifaceName), band, freqs); in GetValidFrequenciesForBand() 216 GetValidFrequenciesForBand( const std::string& ifaceName, int band) GetValidFrequenciesForBand() argument
|
/drivers/peripheral/wlan/test/unittest/chip/ |
H A D | wifi_hal_fn.cpp | 52 WifiError VendorHalGetChannelsInBand(wifiInterfaceHandle handle, int band, in VendorHalGetChannelsInBand() argument 55 if (band == 0) { in VendorHalGetChannelsInBand()
|
/drivers/peripheral/wlan/interfaces/include/ |
H A D | wifi_hal_base_feature.h | 158 * @brief Obtains the frequencies supported by the 2.4 GHz or 5 GHz band. 161 * @param band Indicates the frequency band, either 2.4 GHz or 5 GHz. 171 int32_t (*getValidFreqsWithBand)(const struct IWiFiBaseFeature *baseFeature, int32_t band, int32_t *freqs,
|
/drivers/peripheral/wlan/hal/include/ |
H A D | wifi_hal_cmd.h | 39 int32_t HalCmdGetValidFreqWithBand(const char *ifName, int32_t band, int32_t *freqs, uint32_t size, uint32_t *num);
|
/drivers/peripheral/wlan/test/fuzztest/ |
H A D | hostapd_common_fuzzer.cpp | 130 int32_t band = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceSetApBand() local 133 interface->SetApBand(interface, ifName, band, id); in FuzzHostapdInterfaceSetApBand()
|
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/ |
H A D | hdi_hostapd_hal.h | 72 AP_ANY_BAND = 3, /* Dual-mode frequency band */ 73 AP_DFS_BAND = 4 /* Dynamic Frequency Selection band */ 124 int (*setApBand)(int band, int id);
|
H A D | hostapd_common_cmd.h | 58 const char *ifName, int32_t band, int32_t id);
|
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_hal_struct.h | 132 int32_t band; member
|
/drivers/peripheral/wlan/client/include/ |
H A D | wifi_driver_client.h | 234 int32_t band; member 344 int32_t GetValidFreqByBand(const char *ifName, int32_t band, 400 uint8_t band; member
|
/drivers/hdf_core/framework/include/wifi/ |
H A D | wifi_mac80211_ops.h | 225 * band = Channel's center frequency - 10 MHz to the channel's center frequency + 70 MHz 229 * band = Channel's center frequency - 30 MHz to the channel's center frequency + 50 MHz 233 * band = Channel's center frequency - 50 MHz to the channel's center frequency + 30 MHz 237 * band = Channel's center frequency - 70 MHz to the channel's center frequency + 10 MHz 241 WLAN_CHANNEL_FLAG_VHT_10_150 = UINT32_BIT(20), /**< A 160 MHz channel: Frequency band = Channel's center 244 WLAN_CHANNEL_FLAG_VHT_30_130 = UINT32_BIT(21), /**< A 160 MHz channel: Frequency band = Channel's center 247 WLAN_CHANNEL_FLAG_VHT_50_110 = UINT32_BIT(22), /**< A 160 MHz channel: Frequency band = Channel's center 250 WLAN_CHANNEL_FLAG_VHT_70_90 = UINT32_BIT(23), /**< A 160 MHz channel: Frequency band = Channel's center 253 WLAN_CHANNEL_FLAG_VHT_90_70 = UINT32_BIT(24), /**< A 160 MHz channel: Frequency band = Channel's center 256 WLAN_CHANNEL_FLAG_VHT_110_50 = UINT32_BIT(25), /**< A 160 MHz channel: Frequency band 448 uint8_t band; /**< Band, as enumerated in <b>Ieee80211Band</b> */ global() member [all...] |
/drivers/peripheral/wlan/test/unittest/hal/ |
H A D | wifi_hal_test.cpp | 1111 * @tc.desc: Wifi hal get valid frequency with specific band test 1119 int32_t band = IEEE80211_BAND_2GHZ; 1128 ret = staFeature->baseFeature.getValidFreqsWithBand(nullptr, band, freqs, size, &num); 1131 band, nullptr, size, &num); 1134 band, freqs, 10, &num); 1137 band, freqs, size, nullptr); 1143 band, freqs, size, &num); 1153 * @tc.desc: Wifi hal get valid frequency with specific band test 1161 int32_t band = IEEE80211_BAND_2GHZ; 1170 ret = apFeature->baseFeature.getValidFreqsWithBand(nullptr, band, freq [all...] |
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/ |
H A D | ap.c | 69 apConf.band = apSettings->freqParams.band; in StartAp() 192 if (!HdfSbufReadUint8(reqData, &(apSettings->freqParams.band))) { in WifiFillApSettingsParams() 193 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "band"); in WifiFillApSettingsParams()
|
/drivers/peripheral/wlan/test/unittest/client/ |
H A D | hdf_client_test.cpp | 219 int32_t band = IEEE80211_BAND_2GHZ; 241 ret = GetValidFreqByBand(WLAN_IFNAME, band, nullptr, size); 243 ret = GetValidFreqByBand(ifNameInvalid, band, &result, size); 245 ret = GetValidFreqByBand(WLAN_IFNAME, band, &result, size);
|