42 for (i=1; i<=11; i++) {
45 for (i=12; i<=14; i++) {
77 u8 i,
j, NumTriples, MaxChnlNum;
80 if((CoutryIeLen - 3)%3 != 0)
82 printk(
"Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n");
90 NumTriples = (CoutryIeLen - 3) / 3;
92 for(i = 0; i < NumTriples; i++)
96 printk(
"Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n");
102 printk(
"Dot11d_UpdateCountryIe(): Invalid country IE, skip it........2\n");
107 for(j = 0 ; j < pTriple->
NumChnls; j++)
139 u8 MaxTxPwrInDbm = 255;
143 printk(
"DOT11D_GetMaxTxPwrInDbm(): Invalid Channel\n");
144 return MaxTxPwrInDbm;
151 return MaxTxPwrInDbm;
162 switch(pDot11dInfo->
State)
188 printk(
"IsLegalChannel(): Invalid Channel\n");
216 printk(
"IsLegalChannel(): Invalid Channel\n");