Lines Matching refs:h2c_pkt
361 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument
362 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0))
363 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument
364 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
365 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument
366 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16))
367 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument
368 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0))
370 static inline void rtw_h2c_pkt_set_header(u8 *h2c_pkt, u8 sub_id) in rtw_h2c_pkt_set_header() argument
372 SET_PKT_H2C_CATEGORY(h2c_pkt, H2C_PKT_CATEGORY); in rtw_h2c_pkt_set_header()
373 SET_PKT_H2C_CMD_ID(h2c_pkt, H2C_PKT_CMD_ID); in rtw_h2c_pkt_set_header()
374 SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, sub_id); in rtw_h2c_pkt_set_header()
377 #define FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, value) \ argument
378 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(31, 16))
379 #define GENERAL_INFO_SET_FW_TX_BOUNDARY(h2c_pkt, value) \ argument
380 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(23, 16))
382 #define PHYDM_INFO_SET_REF_TYPE(h2c_pkt, value) \ argument
383 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(7, 0))
384 #define PHYDM_INFO_SET_RF_TYPE(h2c_pkt, value) \ argument
385 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(15, 8))
386 #define PHYDM_INFO_SET_CUT_VER(h2c_pkt, value) \ argument
387 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(23, 16))
388 #define PHYDM_INFO_SET_RX_ANT_STATUS(h2c_pkt, value) \ argument
389 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(27, 24))
390 #define PHYDM_INFO_SET_TX_ANT_STATUS(h2c_pkt, value) \ argument
391 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(31, 28))
392 #define IQK_SET_CLEAR(h2c_pkt, value) \ argument
393 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(0))
394 #define IQK_SET_SEGMENT_IQK(h2c_pkt, value) \ argument
395 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(1))
432 #define UPDATE_PKT_SET_SIZE(h2c_pkt, value) \ argument
433 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(15, 0))
434 #define UPDATE_PKT_SET_PKT_ID(h2c_pkt, value) \ argument
435 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(23, 16))
436 #define UPDATE_PKT_SET_LOCATION(h2c_pkt, value) \ argument
437 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(31, 24))
439 #define CH_SWITCH_SET_START(h2c_pkt, value) \ argument
440 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(0))
441 #define CH_SWITCH_SET_DEST_CH_EN(h2c_pkt, value) \ argument
442 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(1))
443 #define CH_SWITCH_SET_ABSOLUTE_TIME(h2c_pkt, value) \ argument
444 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(2))
445 #define CH_SWITCH_SET_PERIODIC_OPT(h2c_pkt, value) \ argument
446 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(4, 3))
447 #define CH_SWITCH_SET_SCAN_MODE(h2c_pkt, value) \ argument
448 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(5))
449 #define CH_SWITCH_SET_BACK_OP_EN(h2c_pkt, value) \ argument
450 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(6))
451 #define CH_SWITCH_SET_INFO_LOC(h2c_pkt, value) \ argument
452 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(15, 8))
453 #define CH_SWITCH_SET_CH_NUM(h2c_pkt, value) \ argument
454 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(23, 16))
455 #define CH_SWITCH_SET_PRI_CH_IDX(h2c_pkt, value) \ argument
456 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(27, 24))
457 #define CH_SWITCH_SET_DEST_BW(h2c_pkt, value) \ argument
458 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(31, 28))
459 #define CH_SWITCH_SET_DEST_CH(h2c_pkt, value) \ argument
460 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(7, 0))
461 #define CH_SWITCH_SET_NORMAL_PERIOD(h2c_pkt, value) \ argument
462 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(13, 8))
463 #define CH_SWITCH_SET_NORMAL_PERIOD_SEL(h2c_pkt, value) \ argument
464 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(15, 14))
465 #define CH_SWITCH_SET_SLOW_PERIOD(h2c_pkt, value) \ argument
466 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(21, 16))
467 #define CH_SWITCH_SET_SLOW_PERIOD_SEL(h2c_pkt, value) \ argument
468 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(23, 22))
469 #define CH_SWITCH_SET_NORMAL_CYCLE(h2c_pkt, value) \ argument
470 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(31, 24))
471 #define CH_SWITCH_SET_TSF_HIGH(h2c_pkt, value) \ argument
472 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x04, value, GENMASK(31, 0))
473 #define CH_SWITCH_SET_TSF_LOW(h2c_pkt, value) \ argument
474 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x05, value, GENMASK(31, 0))
475 #define CH_SWITCH_SET_INFO_SIZE(h2c_pkt, value) \ argument
476 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x06, value, GENMASK(15, 0))
478 #define SCAN_OFFLOAD_SET_START(h2c_pkt, value) \ argument
479 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(0))
480 #define SCAN_OFFLOAD_SET_BACK_OP_EN(h2c_pkt, value) \ argument
481 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(1))
482 #define SCAN_OFFLOAD_SET_RANDOM_SEQ_EN(h2c_pkt, value) \ argument
483 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(2))
484 #define SCAN_OFFLOAD_SET_NO_CCK_EN(h2c_pkt, value) \ argument
485 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(3))
486 #define SCAN_OFFLOAD_SET_VERBOSE(h2c_pkt, value) \ argument
487 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, BIT(4))
488 #define SCAN_OFFLOAD_SET_CH_NUM(h2c_pkt, value) \ argument
489 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(15, 8))
490 #define SCAN_OFFLOAD_SET_CH_INFO_SIZE(h2c_pkt, value) \ argument
491 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x02, value, GENMASK(31, 16))
492 #define SCAN_OFFLOAD_SET_CH_INFO_LOC(h2c_pkt, value) \ argument
493 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(7, 0))
494 #define SCAN_OFFLOAD_SET_OP_CH(h2c_pkt, value) \ argument
495 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(15, 8))
496 #define SCAN_OFFLOAD_SET_OP_PRI_CH_IDX(h2c_pkt, value) \ argument
497 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(19, 16))
498 #define SCAN_OFFLOAD_SET_OP_BW(h2c_pkt, value) \ argument
499 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(23, 20))
500 #define SCAN_OFFLOAD_SET_OP_PORT_ID(h2c_pkt, value) \ argument
501 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x03, value, GENMASK(26, 24))
502 #define SCAN_OFFLOAD_SET_OP_DWELL_TIME(h2c_pkt, value) \ argument
503 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x04, value, GENMASK(15, 0))
504 #define SCAN_OFFLOAD_SET_OP_GAP_TIME(h2c_pkt, value) \ argument
505 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x04, value, GENMASK(31, 16))
506 #define SCAN_OFFLOAD_SET_MODE(h2c_pkt, value) \ argument
507 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x05, value, GENMASK(3, 0))
508 #define SCAN_OFFLOAD_SET_SSID_NUM(h2c_pkt, value) \ argument
509 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x05, value, GENMASK(7, 4))
510 #define SCAN_OFFLOAD_SET_PKT_LOC(h2c_pkt, value) \ argument
511 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x05, value, GENMASK(15, 8))
543 #define SET_H2C_CMD_ID_CLASS(h2c_pkt, value) \ argument
544 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(7, 0))
546 #define MEDIA_STATUS_RPT_SET_OP_MODE(h2c_pkt, value) \ argument
547 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
548 #define MEDIA_STATUS_RPT_SET_MACID(h2c_pkt, value) \ argument
549 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
551 #define SET_WL_PHY_INFO_TX_TP(h2c_pkt, value) \ argument
552 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(17, 8))
553 #define SET_WL_PHY_INFO_RX_TP(h2c_pkt, value) \ argument
554 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(27, 18))
555 #define SET_WL_PHY_INFO_TX_RATE_DESC(h2c_pkt, value) \ argument
556 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
557 #define SET_WL_PHY_INFO_RX_RATE_DESC(h2c_pkt, value) \ argument
558 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
559 #define SET_WL_PHY_INFO_RX_EVM(h2c_pkt, value) \ argument
560 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(23, 16))
561 #define SET_BCN_FILTER_OFFLOAD_P1_MACID(h2c_pkt, value) \ argument
562 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
563 #define SET_BCN_FILTER_OFFLOAD_P1_ENABLE(h2c_pkt, value) \ argument
564 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(16))
565 #define SET_BCN_FILTER_OFFLOAD_P1_HYST(h2c_pkt, value) \ argument
566 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(20, 17))
567 #define SET_BCN_FILTER_OFFLOAD_P1_OFFLOAD_MODE(h2c_pkt, value) \ argument
568 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 21))
569 #define SET_BCN_FILTER_OFFLOAD_P1_THRESHOLD(h2c_pkt, value) \ argument
570 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
571 #define SET_BCN_FILTER_OFFLOAD_P1_BCN_LOSS_CNT(h2c_pkt, value) \ argument
572 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(3, 0))
573 #define SET_BCN_FILTER_OFFLOAD_P1_BCN_INTERVAL(h2c_pkt, value) \ argument
574 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(13, 4))
576 #define SET_SCAN_START(h2c_pkt, value) \ argument
577 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
579 #define SET_ADAPTIVITY_MODE(h2c_pkt, value) \ argument
580 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(11, 8))
581 #define SET_ADAPTIVITY_OPTION(h2c_pkt, value) \ argument
582 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 12))
583 #define SET_ADAPTIVITY_IGI(h2c_pkt, value) \ argument
584 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
585 #define SET_ADAPTIVITY_L2H(h2c_pkt, value) \ argument
586 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
587 #define SET_ADAPTIVITY_DENSITY(h2c_pkt, value) \ argument
588 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
590 #define SET_PWR_MODE_SET_MODE(h2c_pkt, value) \ argument
591 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(14, 8))
592 #define SET_PWR_MODE_SET_RLBM(h2c_pkt, value) \ argument
593 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(19, 16))
594 #define SET_PWR_MODE_SET_SMART_PS(h2c_pkt, value) \ argument
595 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 20))
596 #define SET_PWR_MODE_SET_AWAKE_INTERVAL(h2c_pkt, value) \ argument
597 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
598 #define SET_PWR_MODE_SET_PORT_ID(h2c_pkt, value) \ argument
599 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 5))
600 #define SET_PWR_MODE_SET_PWR_STATE(h2c_pkt, value) \ argument
601 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
602 #define LPS_PG_INFO_LOC(h2c_pkt, value) \ argument
603 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
604 #define LPS_PG_DPK_LOC(h2c_pkt, value) \ argument
605 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
606 #define LPS_PG_SEC_CAM_EN(h2c_pkt, value) \ argument
607 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
608 #define LPS_PG_PATTERN_CAM_EN(h2c_pkt, value) \ argument
609 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(10))
610 #define SET_RSSI_INFO_MACID(h2c_pkt, value) \ argument
611 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
612 #define SET_RSSI_INFO_RSSI(h2c_pkt, value) \ argument
613 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
614 #define SET_RSSI_INFO_STBC(h2c_pkt, value) \ argument
615 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, BIT(1))
616 #define SET_RA_INFO_MACID(h2c_pkt, value) \ argument
617 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
618 #define SET_RA_INFO_RATE_ID(h2c_pkt, value) \ argument
619 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(20, 16))
620 #define SET_RA_INFO_INIT_RA_LVL(h2c_pkt, value) \ argument
621 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(22, 21))
622 #define SET_RA_INFO_SGI_EN(h2c_pkt, value) \ argument
623 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(23))
624 #define SET_RA_INFO_BW_MODE(h2c_pkt, value) \ argument
625 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(25, 24))
626 #define SET_RA_INFO_LDPC(h2c_pkt, value) \ argument
627 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(26))
628 #define SET_RA_INFO_NO_UPDATE(h2c_pkt, value) \ argument
629 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(27))
630 #define SET_RA_INFO_VHT_EN(h2c_pkt, value) \ argument
631 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(29, 28))
632 #define SET_RA_INFO_DIS_PT(h2c_pkt, value) \ argument
633 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(30))
634 #define SET_RA_INFO_RA_MASK0(h2c_pkt, value) \ argument
635 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
636 #define SET_RA_INFO_RA_MASK1(h2c_pkt, value) \ argument
637 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
638 #define SET_RA_INFO_RA_MASK2(h2c_pkt, value) \ argument
639 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(23, 16))
640 #define SET_RA_INFO_RA_MASK3(h2c_pkt, value) \ argument
641 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(31, 24))
642 #define SET_QUERY_BT_INFO(h2c_pkt, value) \ argument
643 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
644 #define SET_WL_CH_INFO_LINK(h2c_pkt, value) \ argument
645 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
646 #define SET_WL_CH_INFO_CHNL(h2c_pkt, value) \ argument
647 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
648 #define SET_WL_CH_INFO_BW(h2c_pkt, value) \ argument
649 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
650 #define SET_BT_MP_INFO_SEQ(h2c_pkt, value) \ argument
651 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 12))
652 #define SET_BT_MP_INFO_OP_CODE(h2c_pkt, value) \ argument
653 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
654 #define SET_BT_MP_INFO_PARA1(h2c_pkt, value) \ argument
655 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
656 #define SET_BT_MP_INFO_PARA2(h2c_pkt, value) \ argument
657 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
658 #define SET_BT_MP_INFO_PARA3(h2c_pkt, value) \ argument
659 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
660 #define SET_BT_TX_POWER_INDEX(h2c_pkt, value) \ argument
661 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
662 #define SET_IGNORE_WLAN_ACTION_EN(h2c_pkt, value) \ argument
663 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
664 #define SET_COEX_TDMA_TYPE_PARA1(h2c_pkt, value) \ argument
665 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
666 #define SET_COEX_TDMA_TYPE_PARA2(h2c_pkt, value) \ argument
667 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
668 #define SET_COEX_TDMA_TYPE_PARA3(h2c_pkt, value) \ argument
669 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
670 #define SET_COEX_TDMA_TYPE_PARA4(h2c_pkt, value) \ argument
671 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
672 #define SET_COEX_TDMA_TYPE_PARA5(h2c_pkt, value) \ argument
673 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
674 #define SET_BT_WIFI_CONTROL_OP_CODE(h2c_pkt, value) \ argument
675 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
676 #define SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, value) \ argument
677 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
678 #define SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, value) \ argument
679 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
680 #define SET_BT_WIFI_CONTROL_DATA3(h2c_pkt, value) \ argument
681 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(7, 0))
682 #define SET_BT_WIFI_CONTROL_DATA4(h2c_pkt, value) \ argument
683 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 8))
684 #define SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, value) \ argument
685 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(23, 16))
687 #define SET_COEX_QUERY_HID_INFO_SUBID(h2c_pkt, value) \ argument
688 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
689 #define SET_COEX_QUERY_HID_INFO_DATA1(h2c_pkt, value) \ argument
690 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
692 #define SET_KEEP_ALIVE_ENABLE(h2c_pkt, value) \ argument
693 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
694 #define SET_KEEP_ALIVE_ADOPT(h2c_pkt, value) \ argument
695 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(9))
696 #define SET_KEEP_ALIVE_PKT_TYPE(h2c_pkt, value) \ argument
697 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(10))
698 #define SET_KEEP_ALIVE_CHECK_PERIOD(h2c_pkt, value) \ argument
699 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
701 #define SET_DISCONNECT_DECISION_ENABLE(h2c_pkt, value) \ argument
702 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
703 #define SET_DISCONNECT_DECISION_ADOPT(h2c_pkt, value) \ argument
704 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(9))
705 #define SET_DISCONNECT_DECISION_CHECK_PERIOD(h2c_pkt, value) \ argument
706 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
707 #define SET_DISCONNECT_DECISION_TRY_PKT_NUM(h2c_pkt, value) \ argument
708 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 24))
710 #define SET_WOWLAN_FUNC_ENABLE(h2c_pkt, value) \ argument
711 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
712 #define SET_WOWLAN_PATTERN_MATCH_ENABLE(h2c_pkt, value) \ argument
713 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(9))
714 #define SET_WOWLAN_MAGIC_PKT_ENABLE(h2c_pkt, value) \ argument
715 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(10))
716 #define SET_WOWLAN_UNICAST_PKT_ENABLE(h2c_pkt, value) \ argument
717 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(11))
718 #define SET_WOWLAN_REKEY_WAKEUP_ENABLE(h2c_pkt, value) \ argument
719 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(14))
720 #define SET_WOWLAN_DEAUTH_WAKEUP_ENABLE(h2c_pkt, value) \ argument
721 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(15))
723 #define SET_REMOTE_WAKECTRL_ENABLE(h2c_pkt, value) \ argument
724 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
725 #define SET_REMOTE_WAKE_CTRL_NLO_OFFLOAD_EN(h2c_pkt, value) \ argument
726 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(12))
728 #define SET_AOAC_GLOBAL_INFO_PAIRWISE_ENC_ALG(h2c_pkt, value) \ argument
729 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
730 #define SET_AOAC_GLOBAL_INFO_GROUP_ENC_ALG(h2c_pkt, value) \ argument
731 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
733 #define SET_NLO_FUN_EN(h2c_pkt, value) \ argument
734 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))
735 #define SET_NLO_PS_32K(h2c_pkt, value) \ argument
736 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(9))
737 #define SET_NLO_IGNORE_SECURITY(h2c_pkt, value) \ argument
738 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(10))
739 #define SET_NLO_LOC_NLO_INFO(h2c_pkt, value) \ argument
740 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(23, 16))
757 #define RFK_SET_INFORM_START(h2c_pkt, value) \ argument
758 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, BIT(8))