Home
last modified time | relevance | path

Searched refs:bandWidth (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_types.h94 enum WifiDirectBandWidth bandWidth; member
102 enum WifiDirectBandWidth bandWidth; member
172 int32_t bandWidth; member
H A Dwifi_direct_scheduler.cpp33 info.expectApiRole, info.bandWidth, info.ipAddrType); in ConnectDevice()
H A Dwifi_direct_manager.cpp464 OHOS::SoftBus::WifiDirectAnonymizeMac(link->remoteMac).c_str(), link->bandWidth); in NotifyConnectedForSink()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_utils_test.cpp264 WifiDirectBandWidth bandWidth = BAND_WIDTH_160M; variable
265 auto ret = WifiDirectUtils::BandWidthEnumToNumber(bandWidth);
268 bandWidth = BAND_WIDTH_20M;
269 ret = WifiDirectUtils::BandWidthEnumToNumber(bandWidth);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_select_rule.c473 static int32_t GetBwType(uint32_t bandWidth) in GetBwType() argument
476 if (bandWidth >= HIGH_BW) { in GetBwType()
478 } else if (bandWidth > MID_BW) { in GetBwType()
480 } else if (bandWidth > LOW_BW) { in GetBwType()
557 static void FilterWifiDirectLink(const char *peerNetWorkId, uint32_t bandWidth, in FilterWifiDirectLink() argument
560 if (GetBwType(bandWidth) != LOW_BAND_WIDTH) { in FilterWifiDirectLink()
H A Dlnn_lane_link_p2p.c68 uint32_t bandWidth; member
638 wifiDirectInfo->bandWidth = item->p2pInfo.bandWidth; in GetP2pLinkReqParamByChannelRequetId()
697 wifiDirectInfo->bandWidth = item->p2pInfo.bandWidth; in GetP2pLinkReqParamByAuthHandle()
1073 LNN_LOGI(LNN_LANE, "bandWidth=%{public}d", link->bandWidth); in CreateWDLinkInfo()
1074 linkInfo->linkInfo.p2p.bw = (LaneBandwidth)link->bandWidth; in CreateWDLinkInfo()
1565 item->p2pInfo.bandWidth = request->bandWidth; in AddP2pLinkReqItem()
1730 wifiDirectInfo->bandWidth = item->p2pInfo.bandWidth; in GetAuthTriggerLinkReqParamByAuthHandle()
1748 wifiDirectInfo->bandWidth = (int32_t)item->p2pInfo.bandWidth; in GetAuthTriggerLinkReqParamByAuthHandle()
2108 wifiDirectInfo.bandWidth = request->bandWidth; in OpenBleTriggerToConn()
2521 request->bandWidth = p2pLinkReqInfo->p2pInfo.bandWidth; in GetRequest()
[all …]
H A Dlnn_lane_listener.c482 LNN_LOGI(LNN_LANE, "bandWidth=%{public}d", link->bandWidth); in CreateSinkLinkInfo()
483 linkInfo->linkInfo.p2p.bw = (LaneBandwidth)link->bandWidth; in CreateSinkLinkInfo()
H A Dlnn_trans_lane.c89 uint32_t bandWidth; member
296 linkNode->bandWidth = 0; in TriggerLink()
419 linkNode->bandWidth = allocInfo->qosRequire.minBW; in TriggerLinkWithQos()
1093 requestInfo->bandWidth = nodeInfo->bandWidth; in CreateLinkRequestNode()
H A Dlnn_lane_link.c245 …SetWifiDirectLinkInfo(P2pLinkInfo *p2pInfo, WifiDirectLinkInfo *wifiDirectInfo, uint32_t bandWidth) in SetWifiDirectLinkInfo() argument
248 wifiDirectInfo->bandWidth = bandWidth; in SetWifiDirectLinkInfo()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_utils.h91 static WifiDirectBandWidth BandWidthNumberToEnum(int bandWidth);
92 static int BandWidthEnumToNumber(WifiDirectBandWidth bandWidth);
H A Dwifi_direct_utils.cpp477 enum WifiDirectBandWidth WifiDirectUtils::BandWidthNumberToEnum(int bandWidth) in BandWidthNumberToEnum() argument
479 return bandWidth >= BAND_WIDTH_160M_NUMBER ? BAND_WIDTH_160M : BAND_WIDTH_80M; in BandWidthNumberToEnum()
482 int WifiDirectUtils::BandWidthEnumToNumber(WifiDirectBandWidth bandWidth) in BandWidthEnumToNumber() argument
484 switch (bandWidth) { in BandWidthEnumToNumber()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_power_control.h31 uint32_t bandWidth; member
H A Dlnn_lane_link.h53 uint32_t bandWidth; member
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_utils.cpp473 enum WifiDirectBandWidth WifiDirectUtils::BandWidthNumberToEnum(int bandWidth) in BandWidthNumberToEnum() argument
475 return bandWidth >= BAND_WIDTH_160M_NUMBER ? BAND_WIDTH_160M : BAND_WIDTH_80M; in BandWidthNumberToEnum()
478 int WifiDirectUtils::BandWidthEnumToNumber(WifiDirectBandWidth bandWidth) in BandWidthEnumToNumber() argument
480 switch (bandWidth) { in BandWidthEnumToNumber()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dlink_info.h95 void SetBandWidth(int bandWidth);
H A Dlink_info.cpp202 void LinkInfo::SetBandWidth(int bandWidth) in SetBandWidth() argument
204 Set(LinkInfoKey::BANDWIDTH, bandWidth); in SetBandWidth()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dconnect_command.cpp90 …ctAnonymizeIp(link.remoteIp).c_str(), link.remotePort, link.linkType, link.isReuse, link.bandWidth, in OnSuccess()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/
H A Dlnn_lane_listener_test.cpp633 .bandWidth = BAND_WIDTH_20M,
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp300 info.bandWidth = 0; in PrepareConnectParameter()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor.cpp1998 sinkLink.bandWidth = static_cast<WifiDirectBandWidth>(interface.GetBandWidth()); in GenerateSinkLink()