Searched refs:opc_pref (Results 1 – 7 of 7) sorted by relevance
1032 struct op_class_pref_t *opc_pref = NULL; in opc_pref_alloc() local1043 opc_pref = rtw_zmalloc(sizeof(*opc_pref) + (sizeof(struct op_ch_t) * ch_num)); in opc_pref_alloc()1044 if (!opc_pref) in opc_pref_alloc()1047 opc_pref->class_id = global_op_class[i].class_id; in opc_pref_alloc()1048 opc_pref->band = global_op_class[i].band; in opc_pref_alloc()1049 opc_pref->bw = global_op_class[i].bw; in opc_pref_alloc()1052 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc()1053 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc()1054 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc()1055 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc()[all …]
1039 struct op_class_pref_t *opc_pref = NULL; in opc_pref_alloc() local1048 opc_pref = rtw_zmalloc(sizeof(*opc_pref)); in opc_pref_alloc()1049 if (!opc_pref) in opc_pref_alloc()1052 opc_pref->class_id = global_op_class[i].class_id; in opc_pref_alloc()1053 opc_pref->band = global_op_class[i].band; in opc_pref_alloc()1054 opc_pref->bw = global_op_class[i].bw; in opc_pref_alloc()1057 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc()1058 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc()1059 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc()1060 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc()[all …]
1040 struct op_class_pref_t *opc_pref = NULL; in opc_pref_alloc() local1049 opc_pref = rtw_zmalloc(sizeof(*opc_pref)); in opc_pref_alloc()1050 if (!opc_pref) in opc_pref_alloc()1053 opc_pref->class_id = global_op_class[i].class_id; in opc_pref_alloc()1054 opc_pref->band = global_op_class[i].band; in opc_pref_alloc()1055 opc_pref->bw = global_op_class[i].bw; in opc_pref_alloc()1058 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc()1059 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc()1060 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc()1061 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc()[all …]
1141 struct op_class_pref_t *opc_pref = NULL; in opc_pref_alloc() local1152 opc_pref = rtw_zmalloc(sizeof(*opc_pref) + (sizeof(struct op_ch_t) * ch_num)); in opc_pref_alloc()1153 if (!opc_pref) in opc_pref_alloc()1156 opc_pref->class_id = global_op_class[i].class_id; in opc_pref_alloc()1157 opc_pref->band = global_op_class[i].band; in opc_pref_alloc()1158 opc_pref->bw = global_op_class[i].bw; in opc_pref_alloc()1161 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc()1162 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc()1163 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc()1164 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc()[all …]
1105 struct op_class_pref_t *opc_pref = NULL; in opc_pref_alloc() local1116 opc_pref = rtw_zmalloc(sizeof(*opc_pref) + (sizeof(struct op_ch_t) * ch_num)); in opc_pref_alloc()1117 if (!opc_pref) in opc_pref_alloc()1120 opc_pref->class_id = global_op_class[i].class_id; in opc_pref_alloc()1121 opc_pref->band = global_op_class[i].band; in opc_pref_alloc()1122 opc_pref->bw = global_op_class[i].bw; in opc_pref_alloc()1125 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc()1126 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc()1127 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc()1128 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc()[all …]