Lines Matching full:ch

216 		    u8 band, u8 bw, u8 ntx, u8 rs, u8 ch)  in fill_limit_nonbf_bf()  argument
222 rs, bf, ch); in fill_limit_nonbf_bf()
242 u8 band, u8 ntx, u8 ch) in phy_fill_limit_20m_be() argument
245 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
247 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
249 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, ch); in phy_fill_limit_20m_be()
251 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_20m_be()
256 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_40m_be() argument
259 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch - 2); in phy_fill_limit_40m_be()
261 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_40m_be()
267 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_40m_be()
269 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_40m_be()
271 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_40m_be()
276 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_80m_be() argument
282 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_80m_be()
284 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_80m_be()
286 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_80m_be()
288 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_80m_be()
290 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_80m_be()
292 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_80m_be()
294 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_80m_be()
298 ch - 4, ch + 4); in phy_fill_limit_80m_be()
303 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_160m_be() argument
309 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_160m_be()
311 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); in phy_fill_limit_160m_be()
313 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_160m_be()
315 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_160m_be()
317 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_160m_be()
319 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_160m_be()
321 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_160m_be()
323 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_160m_be()
326 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 12); in phy_fill_limit_160m_be()
328 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_160m_be()
330 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_160m_be()
332 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_160m_be()
335 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_160m_be()
337 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_160m_be()
340 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_160m_be()
344 ch - 12, ch - 4); in phy_fill_limit_160m_be()
347 ch + 4, ch + 12); in phy_fill_limit_160m_be()
352 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_320m_be() argument
358 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 30); in phy_fill_limit_320m_be()
360 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 26); in phy_fill_limit_320m_be()
362 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 22); in phy_fill_limit_320m_be()
364 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 18); in phy_fill_limit_320m_be()
366 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_320m_be()
368 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); in phy_fill_limit_320m_be()
370 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_320m_be()
372 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_320m_be()
374 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_320m_be()
376 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_320m_be()
378 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_320m_be()
380 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_320m_be()
382 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 18); in phy_fill_limit_320m_be()
384 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 22); in phy_fill_limit_320m_be()
386 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 26); in phy_fill_limit_320m_be()
388 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 30); in phy_fill_limit_320m_be()
391 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 28); in phy_fill_limit_320m_be()
393 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 20); in phy_fill_limit_320m_be()
395 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 12); in phy_fill_limit_320m_be()
397 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_320m_be()
399 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_320m_be()
401 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_320m_be()
403 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 20); in phy_fill_limit_320m_be()
405 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 28); in phy_fill_limit_320m_be()
408 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 24); in phy_fill_limit_320m_be()
410 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_320m_be()
412 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_320m_be()
414 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 24); in phy_fill_limit_320m_be()
417 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch - 16); in phy_fill_limit_320m_be()
419 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch + 16); in phy_fill_limit_320m_be()
422 RTW89_CHANNEL_WIDTH_320, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_320m_be()
426 ch - 28, ch - 20); in phy_fill_limit_320m_be()
429 ch - 12, ch - 4); in phy_fill_limit_320m_be()
432 ch + 4, ch + 12); in phy_fill_limit_320m_be()
435 ch + 20, ch + 28); in phy_fill_limit_320m_be()
445 u8 ch = chan->channel; in rtw89_phy_fill_limit_be() local
452 phy_fill_limit_20m_be(rtwdev, lmt, band, ntx, ch); in rtw89_phy_fill_limit_be()
455 phy_fill_limit_40m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
458 phy_fill_limit_80m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
461 phy_fill_limit_160m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
464 phy_fill_limit_320m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
504 u8 band, u8 ntx, u8 ch) in fill_limit_ru_each() argument
507 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU26, ntx, ch); in fill_limit_ru_each()
509 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52, ntx, ch); in fill_limit_ru_each()
511 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106, ntx, ch); in fill_limit_ru_each()
513 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52_26, ntx, ch); in fill_limit_ru_each()
515 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106_26, ntx, ch); in fill_limit_ru_each()
520 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_20m_be() argument
522 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch); in phy_fill_limit_ru_20m_be()
527 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_40m_be() argument
529 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_40m_be()
530 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_40m_be()
535 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_80m_be() argument
537 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_80m_be()
538 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_80m_be()
539 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_80m_be()
540 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_80m_be()
545 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_160m_be() argument
547 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_160m_be()
548 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_160m_be()
549 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_160m_be()
550 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_160m_be()
551 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_160m_be()
552 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_160m_be()
553 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_160m_be()
554 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_160m_be()
559 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_320m_be() argument
561 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 30); in phy_fill_limit_ru_320m_be()
562 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 26); in phy_fill_limit_ru_320m_be()
563 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 22); in phy_fill_limit_ru_320m_be()
564 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 18); in phy_fill_limit_ru_320m_be()
565 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_320m_be()
566 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_320m_be()
567 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_320m_be()
568 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_320m_be()
569 fill_limit_ru_each(rtwdev, 8, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_320m_be()
570 fill_limit_ru_each(rtwdev, 9, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_320m_be()
571 fill_limit_ru_each(rtwdev, 10, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_320m_be()
572 fill_limit_ru_each(rtwdev, 11, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_320m_be()
573 fill_limit_ru_each(rtwdev, 12, lmt_ru, band, ntx, ch + 18); in phy_fill_limit_ru_320m_be()
574 fill_limit_ru_each(rtwdev, 13, lmt_ru, band, ntx, ch + 22); in phy_fill_limit_ru_320m_be()
575 fill_limit_ru_each(rtwdev, 14, lmt_ru, band, ntx, ch + 26); in phy_fill_limit_ru_320m_be()
576 fill_limit_ru_each(rtwdev, 15, lmt_ru, band, ntx, ch + 30); in phy_fill_limit_ru_320m_be()
585 u8 ch = chan->channel; in rtw89_phy_fill_limit_ru_be() local
592 phy_fill_limit_ru_20m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
595 phy_fill_limit_ru_40m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
598 phy_fill_limit_ru_80m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
601 phy_fill_limit_ru_160m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
604 phy_fill_limit_ru_320m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()