Lines Matching refs:op_class
1334 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_ap_hw_cap()
1336 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_ap_hw_cap()
1342 wlan_reg_is_6ghz_op_class(pdev, reg_ap_cap[idx].op_class)) { in os_if_son_reg_get_ap_hw_cap()
1344 reg_ap_cap[idx].op_class); in os_if_son_reg_get_ap_hw_cap()
1347 hwcap->opclasses[nsoc].opclass = reg_ap_cap[idx].op_class; in os_if_son_reg_get_ap_hw_cap()
1403 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_op_channels()
1405 (op_chan->opclass != reg_ap_cap[idx].op_class)) in os_if_son_reg_get_op_channels()
1408 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_op_channels()
1411 if (reg_ap_cap[idx].op_class == op_chan->opclass) { in os_if_son_reg_get_op_channels()
1465 struct wlan_op_class *op_class) in os_if_son_reg_get_opclass_details() argument
1489 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_opclass_details()
1491 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_opclass_details()
1493 if ((op_class->opclass != reg_ap_cap[idx].op_class) || in os_if_son_reg_get_opclass_details()
1499 op_class->ch_width = CH_WIDTH_20MHZ; in os_if_son_reg_get_opclass_details()
1502 op_class->ch_width = CH_WIDTH_40MHZ; in os_if_son_reg_get_opclass_details()
1506 op_class->ch_width = CH_WIDTH_80P80MHZ; in os_if_son_reg_get_opclass_details()
1508 op_class->ch_width = CH_WIDTH_80MHZ; in os_if_son_reg_get_opclass_details()
1511 op_class->ch_width = CH_WIDTH_160MHZ; in os_if_son_reg_get_opclass_details()
1514 op_class->ch_width = CH_WIDTH_INVALID; in os_if_son_reg_get_opclass_details()
1519 op_class->sc_loc = IEEE80211_SEC_CHAN_OFFSET_SCN; in os_if_son_reg_get_opclass_details()
1522 op_class->sc_loc = IEEE80211_SEC_CHAN_OFFSET_SCA; in os_if_son_reg_get_opclass_details()
1525 op_class->sc_loc = IEEE80211_SEC_CHAN_OFFSET_SCB; in os_if_son_reg_get_opclass_details()
1528 op_class->sc_loc = IEEE80211_SEC_CHAN_OFFSET_SCN; in os_if_son_reg_get_opclass_details()
1531 op_class->sc_loc = IEEE80211_SEC_CHAN_OFFSET_SCN; in os_if_son_reg_get_opclass_details()
1541 op_class->channels[chan_idx++] = in os_if_son_reg_get_opclass_details()
1546 op_class->channels[chan_idx++] = in os_if_son_reg_get_opclass_details()
1549 op_class->num_chan = chan_idx; in os_if_son_reg_get_opclass_details()
1590 memcpy(&out->op_class, &in->op_class, in os_if_son_pdev_ops()
1592 os_if_son_reg_get_opclass_details(pdev, &out->op_class); in os_if_son_pdev_ops()