Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8192e/
Ddot11d.c122 struct chnl_txpow_triple *pTriple; in Dot11d_UpdateCountryIe() local
128 pTriple = (struct chnl_txpow_triple *)(pCoutryIe + 3); in Dot11d_UpdateCountryIe()
130 if (MaxChnlNum >= pTriple->FirstChnl) { in Dot11d_UpdateCountryIe()
136 if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl + in Dot11d_UpdateCountryIe()
137 pTriple->NumChnls)) { in Dot11d_UpdateCountryIe()
144 for (j = 0; j < pTriple->NumChnls; j++) { in Dot11d_UpdateCountryIe()
145 pDot11dInfo->channel_map[pTriple->FirstChnl + j] = 1; in Dot11d_UpdateCountryIe()
146 pDot11dInfo->MaxTxPwrDbmList[pTriple->FirstChnl + j] = in Dot11d_UpdateCountryIe()
147 pTriple->MaxTxPowerInDbm; in Dot11d_UpdateCountryIe()
148 MaxChnlNum = pTriple->FirstChnl + j; in Dot11d_UpdateCountryIe()
[all …]
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Ddot11d.c57 struct chnl_txpower_triple *pTriple; in Dot11d_UpdateCountryIe() local
63 pTriple = (struct chnl_txpower_triple *)(pCoutryIe + 3); in Dot11d_UpdateCountryIe()
65 if (MaxChnlNum >= pTriple->first_channel) { in Dot11d_UpdateCountryIe()
72 if (MAX_CHANNEL_NUMBER < (pTriple->first_channel + pTriple->num_channels)) { in Dot11d_UpdateCountryIe()
80 for (j = 0; j < pTriple->num_channels; j++) { in Dot11d_UpdateCountryIe()
81 pDot11dInfo->channel_map[pTriple->first_channel + j] = 1; in Dot11d_UpdateCountryIe()
82 pDot11dInfo->max_tx_pwr_dbm_list[pTriple->first_channel + j] = pTriple->max_tx_pwr_dbm; in Dot11d_UpdateCountryIe()
83 MaxChnlNum = pTriple->first_channel + j; in Dot11d_UpdateCountryIe()
86 pTriple = (struct chnl_txpower_triple *)((u8 *)pTriple + 3); in Dot11d_UpdateCountryIe()