Lines Matching refs:sector_index
2852 u16 sector_index; in wil_rf_sector_get_cfg() local
2884 sector_index = nla_get_u16( in wil_rf_sector_get_cfg()
2886 if (sector_index >= WIL_MAX_RF_SECTORS) { in wil_rf_sector_get_cfg()
2887 wil_err(wil, "Invalid sector index %d\n", sector_index); in wil_rf_sector_get_cfg()
2904 cmd.sector_idx = cpu_to_le16(sector_index); in wil_rf_sector_get_cfg()
2974 u16 sector_index, rf_module_index; in wil_rf_sector_set_cfg() local
3004 sector_index = nla_get_u16( in wil_rf_sector_set_cfg()
3006 if (sector_index >= WIL_MAX_RF_SECTORS) { in wil_rf_sector_set_cfg()
3007 wil_err(wil, "Invalid sector index %d\n", sector_index); in wil_rf_sector_set_cfg()
3019 cmd.sector_idx = cpu_to_le16(sector_index); in wil_rf_sector_set_cfg()
3166 u8 mid, u16 sector_index, in wil_rf_sector_wmi_set_selected() argument
3179 cmd.sector_idx = cpu_to_le16(sector_index); in wil_rf_sector_wmi_set_selected()
3200 u16 sector_index; in wil_rf_sector_set_selected() local
3220 sector_index = nla_get_u16( in wil_rf_sector_set_selected()
3222 if (sector_index >= WIL_MAX_RF_SECTORS && in wil_rf_sector_set_selected()
3223 sector_index != WMI_INVALID_RF_SECTOR_INDEX) { in wil_rf_sector_set_selected()
3224 wil_err(wil, "Invalid sector index %d\n", sector_index); in wil_rf_sector_set_selected()
3244 if (sector_index != WMI_INVALID_RF_SECTOR_INDEX) { in wil_rf_sector_set_selected()
3259 rc = wil_rf_sector_wmi_set_selected(wil, vif->mid, sector_index, in wil_rf_sector_set_selected()