Home
last modified time | relevance | path

Searched refs:pTriple (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Ddot11d.c56 PCHNL_TXPOWER_TRIPLE pTriple; in Dot11d_UpdateCountryIe() local
62 pTriple = (PCHNL_TXPOWER_TRIPLE)(pCoutryIe + 3); in Dot11d_UpdateCountryIe()
64 if (MaxChnlNum >= pTriple->FirstChnl) { in Dot11d_UpdateCountryIe()
71 if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl + pTriple->NumChnls)) { in Dot11d_UpdateCountryIe()
79 for (j = 0; j < pTriple->NumChnls; j++) { in Dot11d_UpdateCountryIe()
80 pDot11dInfo->channel_map[pTriple->FirstChnl + j] = 1; in Dot11d_UpdateCountryIe()
81 pDot11dInfo->MaxTxPwrDbmList[pTriple->FirstChnl + j] = pTriple->MaxTxPowerInDbm; in Dot11d_UpdateCountryIe()
82 MaxChnlNum = pTriple->FirstChnl + j; in Dot11d_UpdateCountryIe()
85 pTriple = (PCHNL_TXPOWER_TRIPLE)((u8 *)pTriple + 3); in Dot11d_UpdateCountryIe()
/linux-4.1.27/drivers/staging/rtl8192e/
Ddot11d.c128 struct chnl_txpow_triple *pTriple; in Dot11d_UpdateCountryIe() local
134 pTriple = (struct chnl_txpow_triple *)(pCoutryIe + 3); in Dot11d_UpdateCountryIe()
136 if (MaxChnlNum >= pTriple->FirstChnl) { in Dot11d_UpdateCountryIe()
140 if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl + in Dot11d_UpdateCountryIe()
141 pTriple->NumChnls)) { in Dot11d_UpdateCountryIe()
146 for (j = 0; j < pTriple->NumChnls; j++) { in Dot11d_UpdateCountryIe()
147 pDot11dInfo->channel_map[pTriple->FirstChnl + j] = 1; in Dot11d_UpdateCountryIe()
148 pDot11dInfo->MaxTxPwrDbmList[pTriple->FirstChnl + j] = in Dot11d_UpdateCountryIe()
149 pTriple->MaxTxPowerInDbm; in Dot11d_UpdateCountryIe()
150 MaxChnlNum = pTriple->FirstChnl + j; in Dot11d_UpdateCountryIe()
[all …]
/linux-4.1.27/drivers/staging/rtl8723au/hal/
Drtl8723a_bt-coexist.c220 struct common_triple *pTriple; in bthci_DecideBTChannel() local
233 pTriple = (struct common_triple *) in bthci_DecideBTChannel()
237 for (i = 0; i < (pBtHciInfo->BtPreChnlListLen-COUNTRY_STR_LEN); i += 3, pTriple++) { in bthci_DecideBTChannel()
242 if (pTriple->byte_1st == 0xc9) { in bthci_DecideBTChannel()
245 ("Find Regulatory ID, regulatory class = %d\n", pTriple->byte_2nd)); in bthci_DecideBTChannel()
252 pTriple_subband = (struct chnl_txpower_triple *)pTriple; in bthci_DecideBTChannel()
540 struct chnl_txpower_triple *pTriple; in bthci_AssocPreferredChannelList() local
561 pTriple = (struct chnl_txpower_triple *)&pAssoStrc->Data[len]; in bthci_AssocPreferredChannelList()
569 pTriple->FirstChnl = preferredChnl; in bthci_AssocPreferredChannelList()
570 pTriple->NumChnls = 1; in bthci_AssocPreferredChannelList()
[all …]