Searched refs:current_phymode (Results 1 – 1 of 1) sorted by relevance
6612 enum reg_phymode current_phymode = phy_in; in reg_get_max_phymode() local6623 if (reg_is_phymode_unallowed(current_phymode, phymode_bitmap)) { in reg_get_max_phymode()6624 if (current_phymode == REG_PHYMODE_11N) { in reg_get_max_phymode()6626 current_phymode = REG_PHYMODE_11G; in reg_get_max_phymode()6628 current_phymode = REG_PHYMODE_11A; in reg_get_max_phymode()6629 } else if (current_phymode == REG_PHYMODE_11A || in reg_get_max_phymode()6630 current_phymode == REG_PHYMODE_11B) { in reg_get_max_phymode()6633 } else if (current_phymode > REG_PHYMODE_MAX) { in reg_get_max_phymode()6637 current_phymode--; in reg_get_max_phymode()6640 return current_phymode; in reg_get_max_phymode()