Lines Matching defs:hc
1075 const struct mwl_hal_channel *hc;
1088 hc = ((unsigned)i < ci->nchannels) ? &ci->channels[i] : NULL;
1100 hc = (i < ci->nchannels) ? &ci->channels[i] : NULL;
1102 hc = NULL;
1103 return hc;
1111 const struct mwl_hal_channel *hc;
1114 hc = findchannel(mh, c);
1115 if (hc == NULL) {
1131 pCmd->PowerLevelList[i++] = htole16(hc->targetPowers[0]);
1133 uint16_t pow = hc->targetPowers[i];
2020 setmaxtxpow(struct mwl_hal_channel *hc, int i, int maxix)
2022 hc->maxTxPow = hc->targetPowers[i];
2024 if (hc->targetPowers[i] > hc->maxTxPow)
2025 hc->maxTxPow = hc->targetPowers[i];
2040 struct mwl_hal_channel *hc;
2049 hc = &ci->channels[j];
2050 hc->freq = f;
2051 hc->ieee = table[i];
2052 memcpy(hc->targetPowers, &table[i], 4);
2053 setmaxtxpow(hc, 1, 4); /* NB: col 1 is the freq, skip*/
2081 struct mwl_hal_channel *hc = &ci->channels[j];
2082 hc->ieee = 1+j;
2083 hc->freq = ieee2mhz(1+j);
2084 memcpy(hc->targetPowers, &table[i], 4);
2085 setmaxtxpow(hc, 0, 4);