Lines Matching refs:regionCode
1499 u8_t GetWmRD(u16_t regionCode, u16_t channelFlag, REG_DOMAIN *rd)
1506 if (regDomainPairs[i].regDmnEnum == regionCode) {
1512 zm_debug_msg1("Failed to find reg domain pair ", regionCode);
1571 void zfHpGetRegulationTable(zdev_t *dev, u16_t regionCode, u16_t c_lo, u16_t c_hi)
1583 if (!GetWmRD(regionCode, ~ZM_REG_FLAG_CHANNEL_2GHZ, &rd5GHz)) {
1584 zm_debug_msg1("couldn't find unitary 5GHz reg domain for Region Code ", regionCode);
1587 if (!GetWmRD(regionCode, ZM_REG_FLAG_CHANNEL_2GHZ, &rd2GHz)) {
1588 zm_debug_msg1("couldn't find unitary 2GHz reg domain for Region Code ", regionCode);
1591 if (wd->regulationTable.regionCode == regionCode) {
1592 zm_debug_msg1("current region code is the same with Region Code ", regionCode);
1595 wd->regulationTable.regionCode = regionCode;
1756 void zfHpGetRegulationTablefromRegionCode(zdev_t *dev, u16_t regionCode)
1763 zfHpGetRegulationTable(dev, regionCode, c_lo, c_hi);
1785 if (wd->regulationTable.regionCode != RegDomain) {
1819 if (wd->regulationTable.regionCode != RegDomain)
1863 const char *zfHpGetisoNamefromregionCode(zdev_t *dev, u16_t regionCode)
1868 if (allCountries[i].regDmnEnum == regionCode)
1878 u16_t regionCode;
1881 regionCode = DEF_REGDMN;
1885 regionCode = allCountries[i].regDmnEnum;
1890 return regionCode;
2067 switch (wd->regulationTable.regionCode) {