Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 62) sorted by relevance

123

/hardware/libhardware_legacy/qemu/
Dqemu.c75 qemu_channel_open_qemud( QemuChannel* channel, in qemu_channel_open_qemud() argument
105 channel->is_qemud = 1; in qemu_channel_open_qemud()
106 channel->fd = fd; in qemu_channel_open_qemud()
112 qemu_channel_open_qemud_old( QemuChannel* channel, in qemu_channel_open_qemud_old() argument
117 snprintf(channel->device, sizeof channel->device, in qemu_channel_open_qemud_old()
120 fd = socket_local_client( channel->device, in qemu_channel_open_qemud_old()
125 channel->device, strerror(errno)); in qemu_channel_open_qemud_old()
130 channel->is_qemud_old = 1; in qemu_channel_open_qemud_old()
136 qemu_channel_open_tty( QemuChannel* channel, in qemu_channel_open_tty() argument
153 ret = snprintf(channel->device, sizeof channel->device, in qemu_channel_open_tty()
[all …]
/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmwifi.c55 uint channel; in wf_chspec_ntoa() local
60 channel = CHSPEC_CHANNEL(chspec); in wf_chspec_ntoa()
62 if ((CHSPEC_IS2G(chspec) && channel > CH_MAX_2G_CHANNEL) || in wf_chspec_ntoa()
63 (CHSPEC_IS5G(chspec) && channel <= CH_MAX_2G_CHANNEL)) in wf_chspec_ntoa()
68 channel += CH_10MHZ_APART; in wf_chspec_ntoa()
71 channel -= CH_10MHZ_APART; in wf_chspec_ntoa()
78 snprintf(buf, 6, "%d%s%s%s", channel, band, bw, sb); in wf_chspec_ntoa()
87 uint channel, band, bw, ctl_sb; in wf_chspec_aton() local
90 channel = strtoul(a, &endp, 10); in wf_chspec_aton()
96 if (channel > MAXCHANNEL) in wf_chspec_aton()
[all …]
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmwifi.h74 #define LOWER_20_SB(channel) ((channel > CH_10MHZ_APART) ? (channel - CH_10MHZ_APART) : 0) argument
75 #define UPPER_20_SB(channel) ((channel < (MAXCHANNEL - CH_10MHZ_APART)) ? \ argument
76 (channel + CH_10MHZ_APART) : 0)
78 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ argument
79 WL_CHANSPEC_CTL_SB_NONE | (((channel) <= CH_MAX_2G_CHANNEL) ? \
81 #define NEXT_20MHZ_CHAN(channel) ((channel < (MAXCHANNEL - CH_20MHZ_APART)) ? \ argument
82 (channel + CH_20MHZ_APART) : 0)
83 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ argument
84 ((channel) | (ctlsb) | WL_CHANSPEC_BW_40 | \
85 ((channel) <= CH_MAX_2G_CHANNEL ? WL_CHANSPEC_BAND_2G : \
[all …]
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/
DregulatoryDomain.c94 …ic void regulatoryDomain_updateChannelsTs(regulatoryDomain_t *pRegulatoryDomain, TI_UINT8 channel);
100 …I_BOOL regulatoryDomain_isChannelSupprted(regulatoryDomain_t *pRegulatoryDomain, TI_UINT8 channel);
353 regulatoryDomain_updateChannelsTs(pRegulatoryDomain, pParam->content.channel); in regulatoryDomain_setParam()
492 regulatoryDomain_isChannelSupprted(pRegulatoryDomain, pParam->content.channel); in regulatoryDomain_getParam()
875 …TI_BOOL regulatoryDomain_isChannelSupprted(regulatoryDomain_t *pRegulatoryDomain, TI_UINT8 channel) in regulatoryDomain_isChannelSupprted() argument
885 if ((channel<BG_24G_BAND_MIN_CHANNEL) || (channel>A_5G_BAND_MAX_CHANNEL)) in regulatoryDomain_isChannelSupprted()
889 if (channel>=A_5G_BAND_MIN_CHANNEL) in regulatoryDomain_isChannelSupprted()
891 channelIndex = (channel-A_5G_BAND_MIN_CHANNEL); in regulatoryDomain_isChannelSupprted()
896 channelIndex = (channel-BG_24G_BAND_MIN_CHANNEL); in regulatoryDomain_isChannelSupprted()
900 "regulatoryDomain_isChannelSupprted(): 2.4G invalid channel # %u\n", channel ); in regulatoryDomain_isChannelSupprted()
[all …]
DSwitchChannel.c179 …DLE hSwitchChannel, dot11_CHANNEL_SWITCH_t *channelSwitch, TI_BOOL BeaconPacket, TI_UINT8 channel);
475 …hChannel_recvCmd(TI_HANDLE hSwitchChannel, dot11_CHANNEL_SWITCH_t *channelSwitch, TI_UINT8 channel) in switchChannel_recvCmd() argument
490 (channel < param.content.DFS_ChannelRange.minDFS_channelNum) || in switchChannel_recvCmd()
491 (channel > param.content.DFS_ChannelRange.maxDFS_channelNum)) in switchChannel_recvCmd()
507 param.content.channel = channel; in switchChannel_recvCmd()
515 param.content.channel = channelSwitch->channelNumber; in switchChannel_recvCmd()
527 param.content.channelValidity.channelNum = channel; in switchChannel_recvCmd()
1366 …NDLE hSwitchChannel, dot11_CHANNEL_SWITCH_t *channelSwitch, TI_BOOL BeaconPacket, TI_UINT8 channel) in switchChannel_recvCmd4Debug() argument
1408 param.content.channel = channelSwitch->channelNumber; in switchChannel_recvCmd4Debug()
DSwitchChannelApi.h65 …Channel_recvCmd(TI_HANDLE hSwitchChannel, dot11_CHANNEL_SWITCH_t *channelSwitch, TI_UINT8 channel);
/hardware/ti/wlan/wl1271/stad/Export_Inc/
DbssTypes.h103 TI_UINT8 channel; /**< channel on which the AP transmits */ member
145 TI_UINT8 channel; /**< Neighbor AP channel (on which the AP transmits) */ member
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
DscanResultTable.c63 pSite->channel = rxChannel; \
65 … pSite->channel = (pFrame)->parsedIEs->content.iePacket.pDSParamsSet->currChannel;
145 …alidity(TScanResultTable *pScanResultTable, siteEntry_t *pSite, TI_INT8 rxLevel, TI_UINT8 channel);
324 …K != scanResultTable_CheckRxSignalValidity(pScanResultTable, pSite, pFrame->rssi, pFrame->channel)) in scanResultTable_UpdateEntry()
673 (pFrame->parsedIEs->content.iePacket.pDSParamsSet->currChannel != pFrame->channel)) in scanResultTable_UpdateSiteData()
675 …SiteData: wrong channels, radio channel=%d, frame channel=%d\n", pFrame->channel, pFrame->parsedIE… in scanResultTable_UpdateSiteData()
678 UPDATE_CHANNEL (pSite, pFrame , pFrame->channel); in scanResultTable_UpdateSiteData()
1076 pBssid->Configuration.Union.channel = Chan2Freq(pSiteEntry->channel); in scanResultTable_GetBssidList()
1147 &(pSiteEntry->channel), DOT11_DS_PARAMS_ELE_LEN); in scanResultTable_GetBssidList()
1354 …lValidity(TScanResultTable *pScanResultTable, TSiteEntry *pSite, TI_INT8 rxLevel, TI_UINT8 channel) in scanResultTable_CheckRxSignalValidity() argument
[all …]
DmlmeParser.c408 …channel=%d\n", RX_BUF_LEN(pBuffer)-WLAN_HDR_LEN-TIME_STAMP_LEN-4, pRxAttr->band, pRxAttr->channel); in mlmeParser_recv()
438 pHandle->tempFrameInfo.rxChannel = pRxAttr->channel; in mlmeParser_recv()
440 if ((pRxAttr->band == RADIO_BAND_2_4_GHZ) && (pRxAttr->channel > NUM_OF_CHANNELS_24)) in mlmeParser_recv()
442 … REPORT_SEVERITY_ERROR, "mlmeParser_recv, band=%d, channel=%d\n", pRxAttr->band, pRxAttr->channel); in mlmeParser_recv()
452 else if ((pRxAttr->band == RADIO_BAND_5_0_GHZ) && (pRxAttr->channel <= NUM_OF_CHANNELS_24)) in mlmeParser_recv()
454 … REPORT_SEVERITY_ERROR, "mlmeParser_recv, band=%d, channel=%d\n", pRxAttr->band, pRxAttr->channel); in mlmeParser_recv()
525 switchChannel_recvCmd(pHandle->hSwitchChannel, NULL, pRxAttr->channel); in mlmeParser_recv()
536 …channel=%d\n", RX_BUF_LEN(pBuffer)-WLAN_HDR_LEN-TIME_STAMP_LEN-4, pRxAttr->band, pRxAttr->channel); in mlmeParser_recv()
565 if ((pRxAttr->band == RADIO_BAND_2_4_GHZ) && (pRxAttr->channel > NUM_OF_CHANNELS_24)) in mlmeParser_recv()
567 … REPORT_SEVERITY_ERROR, "mlmeParser_recv, band=%d, channel=%d\n", pRxAttr->band, pRxAttr->channel); in mlmeParser_recv()
[all …]
DsiteMgr.c143 pSite->channel = rxChannel; \
145 … pSite->channel = pFrameInfo->content.iePacket.pDSParamsSet->currChannel;
606 TI_UINT32 channel; in siteMgr_setParam() local
623 channel = Freq2Chan(pConfig->Union.channel); in siteMgr_setParam()
625 if(channel == 0 || channel > SITE_MGR_CHANNEL_MAX) in siteMgr_setParam()
628 pConfig->Union.channel = channel; in siteMgr_setParam()
630 if((pSiteMgr->pDesiredParams->siteMgrDesiredChannel != pConfig->Union.channel) || in siteMgr_setParam()
633 pSiteMgr->pDesiredParams->siteMgrDesiredChannel = (TI_UINT8)pConfig->Union.channel; in siteMgr_setParam()
952 pPrimarySite->channel = pParam->content.siteMgrCurrentChannel; in siteMgr_setParam()
1053 pParam->content.pSiteMgrConfiguration->Union.channel = in siteMgr_getParam()
[all …]
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_cfg80211.h169 struct ieee80211_channel channel; member
190 uint16 channel; member
230 uint8 channel; member
320 uint32 channel; /* current channel */ member
/hardware/ti/wlan/wl1271/TWD/FirmwareApi/
Dpublic_commands.h510 Channel_e channel; /* Channel number to scan, valid range 0-255 */ member
1082 Channel_e channel; /* Channel number on which the measurement is performed,*/ member
1210 Channel_e channel; /* The new serving channel.*/ member
1354 Channel_e channel; /* Channel number to scan, valid range 0-255 */ member
1456 uint8 channel; /* channel number (channel_e) */ member
/hardware/ti/wlan/wl1271/TWD/TWDriver/
DTWDriverScan.h187 TI_UINT8 channel; /**< Channel to scan */ member
208 TI_UINT8 channel; /**< Channel to scan */ member
DTWDriverMsr.h201 TI_UINT8 channel; /**< */ member
/hardware/ti/wlan/wl1271/TWD/Ctrl/
DCmdBldCmd.c190 tnetScanParams.basicScanChannelParameters[ i ].channel = in cmdBld_CmdStartScan()
191 pScanVals->channelEntry[ i ].normalChannelEntry.channel; in cmdBld_CmdStartScan()
203 …on, chanPtr->scanMaxDuration, chanPtr->ETCondCount, chanPtr->txPowerAttenuation, chanPtr->channel); in cmdBld_CmdStartScan()
281 tnetSPSScanParams.scheduledChannelParameters[ i ].channel = in cmdBld_CmdStartSPSScan()
282 pScanVals->channelEntry[ i ].SPSChannelEntry.channel; in cmdBld_CmdStartSPSScan()
295 …SSID[0], chanPtr->scanStartTime, chanPtr->scanMaxDuration, chanPtr->ETCondCount, chanPtr->channel); in cmdBld_CmdStartSPSScan()
365 …ON , "%-10d %-10d %-10d %-10d %-10d %-11d\n", uIndex, pChannel[ uIndex ].channel, pChannel[ uIndex… in cmdBld_debugPrintPeriodicScanChannles()
471 …pChannelList[ uNumChannels ].channel = (TI_UINT8)pPeriodicScanParams->tChannels[ uIndex ].uChannel; in cmdBld_BuildPeriodicScanChannles()
739 …BssParams->beaconInterval, pJoinBssParams->dtimInterval, pJoinBssParams->channel, pJoinBssParams->… in cmdBld_CmdJoinBss()
751 DB_BSS(hCmdBld).RadioChannel = pJoinBssParams->channel; in cmdBld_CmdJoinBss()
[all …]
DCmdBldCmdIE.c234 TI_STATUS cmdBld_CmdIeEnableTx (TI_HANDLE hCmdBld, TI_UINT8 channel, void *fCb, TI_HANDLE hCb) in cmdBld_CmdIeEnableTx() argument
239 aEnableTx_buf[0] = channel; in cmdBld_CmdIeEnableTx()
735 pCmd->channel = pSwitchChannelCmd->channelNumber; in cmdBld_CmdIeSwitchChannel()
818 pCmd->channel = pMeasurementParams->channel; in cmdBld_CmdIeMeasurement()
/hardware/ti/wlan/wl1271/config/
Dtiwlan.ini56 # Each byte correlates to one channel in sequential order. Table 2.4 starts from channel 1, Table …
216 … # 0x41 Unit: Options (Bit0: NBI (0: Off; 1: On), Bit1: Telec channel 14 (0: Off; 1: On…
/hardware/libhardware_legacy/
Dqemu.h53 extern int qemu_channel_open( QemuChannel* channel,
/hardware/ti/wlan/wl1271/Test/
DroamingMgrDebug.c162 channels.channelEntry[i].normalChannelEntry.channel = i + 1; in roamingMgrDebugFunction()
219 channels.channelEntry[i].normalChannelEntry.channel = i + 1; in roamingMgrDebugFunction()
355 … pBssEntry->channel, pBssEntry->beaconInterval, pBssEntry->RSSI)); in PrintBssListGotAfterImemediateScan()
/hardware/ti/wlan/wl1271/TWD/MacServices/
DmeasurementSrvDbgPrint.c64 …X power level: %d, start time: %x-%x\n", pMsrRequest->band, pMsrRequest->channel, pMsrRequest->txP… in measurementSRVPrintRequest()
DMeasurementSrvSM.c198 if ( paramInfo.content.halCtrlCurrentChannel == pMeasurementSRV->msrRequest.channel ) in measurementSRVSM_requestDriverMode()
276 pMeasurementCmd.channel = pMeasurementSRV->msrRequest.channel; in measurementSRVSM_requestMeasureStart()
293 if ( paramInfo.content.halCtrlCurrentChannel == pMeasurementSRV->msrRequest.channel ) in measurementSRVSM_requestMeasureStart()
330 … configOptions=0x%x, filterOptions=0x%x, status=%d, \n", pMeasurementCmd.channel, pMeasurementCmd.… in measurementSRVSM_requestMeasureStart()
/hardware/ti/wlan/wl1271/stad/src/Application/
DscanMngr.c992 … ((TI_TRUE == scanMngrIsPolicyChannel( hScanMngr, frameInfo->band, frameInfo->channel )) || in scanMngrUpdateReceivedFrame()
1108 pScanMngr->BSSList.BSSList[ BSSListIndex ].channel = frameInfo->channel; in scanMngrUpdateBSSInfo()
1479 … pScanMngr->neighborAPsDiscoveryList[ bandPolicy->band ].APListPtr[ channelIndex ].channel; in scanMngrBuildImmediateScanCommand()
1486 … pScanMngr->neighborAPsDiscoveryList[ bandPolicy->band ].APListPtr[ channelIndex ].channel, in scanMngrBuildImmediateScanCommand()
1621 …param.content.channelCapabilityReq.channelNum = pScanMngr->BSSList.BSSList[ BSSListIndex ].channel; in scanMngrBuildTrackScanCommand()
1628 pScanMngr->BSSList.BSSList[ BSSListIndex ].channel, in scanMngrBuildTrackScanCommand()
1915 … pScanMngr->neighborAPsDiscoveryList[ bandPolicy->band ].APListPtr[ neighborAPIndex ].channel; in scanMngrAddNeighborAPsForDiscovery()
1922 … pScanMngr->neighborAPsDiscoveryList[ bandPolicy->band ].APListPtr[ neighborAPIndex ].channel, in scanMngrAddNeighborAPsForDiscovery()
2085 …param.content.channelCapabilityReq.channelNum = pScanMngr->BSSList.BSSList[ BSSListIndex ].channel; in scanMngrAddSPSChannels()
2185 …ScanMngr->scanParams.channelEntry[ pScanMngr->scanParams.numOfChannels ].SPSChannelEntry.channel = in scanMngrAddSPSChannels()
[all …]
DscanMngr.h655 void scanMngrAddNormalChannel( TI_HANDLE hScanMngr, TScanMethod* scanMethod, TI_UINT8 channel,
704 TI_BOOL scanMngrIsPolicyChannel( TI_HANDLE hScanMngr, ERadioBand band, TI_UINT8 channel );
/hardware/broadcom/wlan/bcm4329/src/include/proto/
D802.11.h347 uint8 channel; member
367 uint8 channel; member
448 uint8 channel; member
466 uint8 channel; member
480 uint8 channel; member
499 uint8 channel; member
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/
Dcu_os.h49 S32 CuOs_GetCurrentChannel(THandle hCuWext, U32* channel);

123