Lines Matching refs:frame_len
383 u16 frame_len = sizeof(struct rsi_radio_caps); in rsi_load_radio_caps() local
387 skb = dev_alloc_skb(frame_len); in rsi_load_radio_caps()
395 memset(skb->data, 0, frame_len); in rsi_load_radio_caps()
468 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_load_radio_caps()
470 skb_put(skb, frame_len); in rsi_load_radio_caps()
544 u16 frame_len = sizeof(struct rsi_peer_notify); in rsi_hal_send_sta_notify_frame() local
548 skb = dev_alloc_skb(frame_len); in rsi_hal_send_sta_notify_frame()
556 memset(skb->data, 0, frame_len); in rsi_hal_send_sta_notify_frame()
581 (frame_len - FRAME_DESC_SZ), in rsi_hal_send_sta_notify_frame()
587 skb_put(skb, frame_len); in rsi_hal_send_sta_notify_frame()
620 u16 frame_len = sizeof(struct rsi_aggr_params); in rsi_send_aggregation_params_frame() local
622 skb = dev_alloc_skb(frame_len); in rsi_send_aggregation_params_frame()
630 memset(skb->data, 0, frame_len); in rsi_send_aggregation_params_frame()
652 skb_put(skb, frame_len); in rsi_send_aggregation_params_frame()
668 u16 frame_len = sizeof(struct rsi_bb_rf_prog); in rsi_program_bb_rf() local
672 skb = dev_alloc_skb(frame_len); in rsi_program_bb_rf()
679 memset(skb->data, 0, frame_len); in rsi_program_bb_rf()
696 skb_put(skb, frame_len); in rsi_program_bb_rf()
722 u16 frame_len = sizeof(struct rsi_vap_caps); in rsi_set_vap_capabilities() local
726 skb = dev_alloc_skb(frame_len); in rsi_set_vap_capabilities()
733 memset(skb->data, 0, frame_len); in rsi_set_vap_capabilities()
737 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_set_vap_capabilities()
775 skb_put(skb, frame_len); in rsi_set_vap_capabilities()
805 u16 frame_len = sizeof(struct rsi_set_key); in rsi_hal_load_key() local
809 skb = dev_alloc_skb(frame_len); in rsi_hal_load_key()
816 memset(skb->data, 0, frame_len); in rsi_hal_load_key()
839 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_hal_load_key()
854 memset(&set_key[FRAME_DESC_SZ], 0, frame_len - FRAME_DESC_SZ); in rsi_hal_load_key()
857 skb_put(skb, frame_len); in rsi_hal_load_key()
870 u16 frame_len; in rsi_send_common_dev_params() local
873 frame_len = sizeof(struct rsi_config_vals); in rsi_send_common_dev_params()
876 skb = dev_alloc_skb(frame_len); in rsi_send_common_dev_params()
882 memset(skb->data, 0, frame_len); in rsi_send_common_dev_params()
887 rsi_set_len_qno(&dev_cfgs->len_qno, (frame_len - FRAME_DESC_SZ), in rsi_send_common_dev_params()
904 skb_put(skb, frame_len); in rsi_send_common_dev_params()
1125 u16 frame_len = sizeof(struct rsi_chan_config); in rsi_set_channel() local
1133 skb = dev_alloc_skb(frame_len); in rsi_set_channel()
1140 memset(skb->data, 0, frame_len); in rsi_set_channel()
1166 skb_put(skb, frame_len); in rsi_set_channel()
1319 u16 frame_len = sizeof(struct rsi_auto_rate); in rsi_send_auto_rate_request() local
1324 skb = dev_alloc_skb(frame_len); in rsi_send_auto_rate_request()
1331 memset(skb->data, 0, frame_len); in rsi_send_auto_rate_request()
1445 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_send_auto_rate_request()
1447 skb_put(skb, frame_len); in rsi_send_auto_rate_request()
1640 int frame_len = sizeof(*ps); in rsi_send_ps_request() local
1642 skb = dev_alloc_skb(frame_len); in rsi_send_ps_request()
1645 memset(skb->data, 0, frame_len); in rsi_send_ps_request()
1651 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_send_ps_request()
1683 skb_put(skb, frame_len); in rsi_send_ps_request()
1691 u16 frame_len = sizeof(struct rsi_wlan_9116_features); in rsi_send_w9116_features() local
1697 skb = dev_alloc_skb(frame_len); in rsi_send_w9116_features()
1700 memset(skb->data, 0, frame_len); in rsi_send_w9116_features()
1722 frame_len - FRAME_DESC_SZ, RSI_WIFI_MGMT_Q); in rsi_send_w9116_features()
1724 skb_put(skb, frame_len); in rsi_send_w9116_features()
1830 u16 frame_len = sizeof(*bgscan); in rsi_send_bgscan_params() local
1835 skb = dev_alloc_skb(frame_len); in rsi_send_bgscan_params()
1838 memset(skb->data, 0, frame_len); in rsi_send_bgscan_params()
1842 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_send_bgscan_params()
1860 skb_put(skb, frame_len); in rsi_send_bgscan_params()
1875 u16 frame_len = sizeof(*bgscan); in rsi_send_bgscan_probe_req() local
1890 skb = dev_alloc_skb(frame_len + MAX_BGSCAN_PROBE_REQ_LEN); in rsi_send_bgscan_probe_req()
1893 memset(skb->data, 0, frame_len + MAX_BGSCAN_PROBE_REQ_LEN); in rsi_send_bgscan_probe_req()
1914 memcpy(&skb->data[frame_len], probereq_skb->data, probereq_skb->len); in rsi_send_bgscan_probe_req()
1919 (frame_len - FRAME_DESC_SZ + probereq_skb->len), in rsi_send_bgscan_probe_req()
1922 skb_put(skb, frame_len + probereq_skb->len); in rsi_send_bgscan_probe_req()