Home
last modified time | relevance | path

Searched refs:htc (Results 1 - 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dhtc.c67 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
69 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
72 int ath11k_htc_send(struct ath11k_htc *htc, in ath11k_htc_send() argument
76 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send()
78 struct device *dev = htc->ab->dev; in ath11k_htc_send()
79 struct ath11k_base *ab = htc->ab; in ath11k_htc_send()
91 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
92 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
95 "htc insufficient credits ep %d required %d available %d\n", in ath11k_htc_send()
97 spin_unlock_bh(&htc in ath11k_htc_send()
144 ath11k_htc_process_credit_report(struct ath11k_htc *htc, const struct ath11k_htc_credit_report *report, int len, enum ath11k_htc_ep_id eid) ath11k_htc_process_credit_report() argument
178 ath11k_htc_process_trailer(struct ath11k_htc *htc, u8 *buffer, int length, enum ath11k_htc_ep_id src_eid) ath11k_htc_process_trailer() argument
238 struct ath11k_htc *htc = &ab->htc; ath11k_htc_rx_completion_handler() local
399 ath11k_htc_reset_endpoint_states(struct ath11k_htc *htc) ath11k_htc_reset_endpoint_states() argument
415 ath11k_htc_get_credit_allocation(struct ath11k_htc *htc, u16 service_id) ath11k_htc_get_credit_allocation() argument
430 ath11k_htc_setup_target_buffer_assignments(struct ath11k_htc *htc) ath11k_htc_setup_target_buffer_assignments() argument
457 ath11k_htc_wait_target(struct ath11k_htc *htc) ath11k_htc_wait_target() argument
529 ath11k_htc_connect_service(struct ath11k_htc *htc, struct ath11k_htc_svc_conn_req *conn_req, struct ath11k_htc_svc_conn_resp *conn_resp) ath11k_htc_connect_service() argument
694 ath11k_htc_start(struct ath11k_htc *htc) ath11k_htc_start() argument
725 struct ath11k_htc *htc = &ab->htc; ath11k_htc_init() local
[all...]
H A Dhtc.h260 struct ath11k_htc *htc; member
302 int ath11k_htc_wait_target(struct ath11k_htc *htc);
303 int ath11k_htc_start(struct ath11k_htc *htc);
304 int ath11k_htc_connect_service(struct ath11k_htc *htc,
307 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
H A DMakefile10 htc.o \
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dhtc.c69 spin_lock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb()
71 spin_unlock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb()
74 int ath12k_htc_send(struct ath12k_htc *htc, in ath12k_htc_send() argument
78 struct ath12k_htc_ep *ep = &htc->endpoint[eid]; in ath12k_htc_send()
80 struct device *dev = htc->ab->dev; in ath12k_htc_send()
81 struct ath12k_base *ab = htc->ab; in ath12k_htc_send()
93 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath12k_htc_send()
94 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send()
97 "htc insufficient credits ep %d required %d available %d\n", in ath12k_htc_send()
99 spin_unlock_bh(&htc in ath12k_htc_send()
145 ath12k_htc_process_credit_report(struct ath12k_htc *htc, const struct ath12k_htc_credit_report *report, int len, enum ath12k_htc_ep_id eid) ath12k_htc_process_credit_report() argument
179 ath12k_htc_process_trailer(struct ath12k_htc *htc, u8 *buffer, int length, enum ath12k_htc_ep_id src_eid) ath12k_htc_process_trailer() argument
251 struct ath12k_htc *htc = &ab->htc; ath12k_htc_rx_completion_handler() local
424 ath12k_htc_reset_endpoint_states(struct ath12k_htc *htc) ath12k_htc_reset_endpoint_states() argument
440 ath12k_htc_get_credit_allocation(struct ath12k_htc *htc, u16 service_id) ath12k_htc_get_credit_allocation() argument
458 ath12k_htc_setup_target_buffer_assignments(struct ath12k_htc *htc) ath12k_htc_setup_target_buffer_assignments() argument
485 ath12k_htc_wait_target(struct ath12k_htc *htc) ath12k_htc_wait_target() argument
551 ath12k_htc_connect_service(struct ath12k_htc *htc, struct ath12k_htc_svc_conn_req *conn_req, struct ath12k_htc_svc_conn_resp *conn_resp) ath12k_htc_connect_service() argument
715 ath12k_htc_start(struct ath12k_htc *htc) ath12k_htc_start() argument
746 struct ath12k_htc *htc = &ab->htc; ath12k_htc_init() local
[all...]
H A Dhtc.h265 struct ath12k_htc *htc; member
305 int ath12k_htc_wait_target(struct ath12k_htc *htc);
306 int ath12k_htc_start(struct ath12k_htc *htc);
307 int ath12k_htc_connect_service(struct ath12k_htc *htc,
310 int ath12k_htc_send(struct ath12k_htc *htc, enum ath12k_htc_ep_id eid,
H A DMakefile10 htc.o \
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dhtc.c40 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, in ath10k_htc_restore_tx_skb() argument
45 if (htc->ar->bus_param.dev_type != ATH10K_DEV_TYPE_HL) in ath10k_htc_restore_tx_skb()
46 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb()
53 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion()
69 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion()
82 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion()
100 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
102 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
109 struct ath10k_htc *htc = ep->htc; in ath10k_htc_consume_credit() local
142 struct ath10k_htc *htc = ep->htc; ath10k_htc_release_credit() local
162 ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, struct sk_buff *skb) ath10k_htc_send() argument
226 struct ath10k_htc *htc = &ar->htc; ath10k_htc_tx_completion_handler() local
246 ath10k_htc_process_credit_report(struct ath10k_htc *htc, const struct ath10k_htc_credit_report *report, int len, enum ath10k_htc_ep_id eid) ath10k_htc_process_credit_report() argument
281 ath10k_htc_process_lookahead(struct ath10k_htc *htc, const struct ath10k_htc_lookahead_report *report, int len, enum ath10k_htc_ep_id eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_lookahead() argument
313 ath10k_htc_process_lookahead_bundle(struct ath10k_htc *htc, const struct ath10k_htc_lookahead_bundle *report, int len, enum ath10k_htc_ep_id eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_lookahead_bundle() argument
344 ath10k_htc_process_trailer(struct ath10k_htc *htc, u8 *buffer, int length, enum ath10k_htc_ep_id src_eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_trailer() argument
439 struct ath10k_htc *htc = &ar->htc; ath10k_htc_rx_completion_handler() local
531 struct ath10k_htc *htc = &ar->htc; ath10k_htc_control_rx_complete() local
608 ath10k_htc_reset_endpoint_states(struct ath10k_htc *htc) ath10k_htc_reset_endpoint_states() argument
624 ath10k_htc_get_credit_allocation(struct ath10k_htc *htc, u16 service_id) ath10k_htc_get_credit_allocation() argument
643 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle() local
687 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_one_skb() local
702 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle_skbs() local
855 ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, struct sk_buff *skb) ath10k_htc_send_hl() argument
910 ath10k_htc_wait_target(struct ath10k_htc *htc) ath10k_htc_wait_target() argument
1001 ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, bool enable) ath10k_htc_change_tx_credit_flow() argument
1011 ath10k_htc_connect_service(struct ath10k_htc *htc, struct ath10k_htc_svc_conn_req *conn_req, struct ath10k_htc_svc_conn_resp *conn_resp) ath10k_htc_connect_service() argument
1243 ath10k_htc_start(struct ath10k_htc *htc) ath10k_htc_start() argument
1291 struct ath10k_htc *htc = &ar->htc; ath10k_htc_init() local
[all...]
H A Dhtc.h362 struct ath10k_htc *htc; member
408 int ath10k_htc_wait_target(struct ath10k_htc *htc);
410 int ath10k_htc_start(struct ath10k_htc *htc);
411 int ath10k_htc_connect_service(struct ath10k_htc *htc,
414 void ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc,
417 int ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
421 int ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
428 int ath10k_htc_process_trailer(struct ath10k_htc *htc,
H A Dsdio.c21 #include "htc.h"
384 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packet() local
397 ret = ath10k_htc_process_trailer(htc, in ath10k_sdio_mbox_rx_process_packet()
422 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packets() local
445 ep = &htc->endpoint[id]; in ath10k_sdio_mbox_rx_process_packets()
506 u8 max_msgs = ar->htc.max_msgs_per_htc_bundle; in ath10k_sdio_mbox_alloc_bundle()
559 ath10k_warn(ar, "payload length %d exceeds max htc length: %zu\n", in ath10k_sdio_mbox_rx_alloc()
582 ar->htc in ath10k_sdio_mbox_rx_alloc()
2033 struct ath10k_htc *htc = &ar->htc; ath10k_sdio_hif_map_service_to_pipe() local
[all...]
H A Dhtt_tx.c622 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_ver_req_msg()
664 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_stats_req()
726 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_32()
788 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_64()
879 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32()
949 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64()
1000 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl()
1047 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32()
1094 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2()
1138 ret = ath10k_htc_send(&ar->htc, a in ath10k_htt_tx_fetch_resp()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtc.c40 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, in ath10k_htc_restore_tx_skb() argument
45 if (htc->ar->bus_param.dev_type != ATH10K_DEV_TYPE_HL) in ath10k_htc_restore_tx_skb()
46 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb()
53 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion()
60 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion()
73 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion()
91 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
93 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
100 struct ath10k_htc *htc = ep->htc; in ath10k_htc_consume_credit() local
133 struct ath10k_htc *htc = ep->htc; ath10k_htc_release_credit() local
153 ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, struct sk_buff *skb) ath10k_htc_send() argument
217 struct ath10k_htc *htc = &ar->htc; ath10k_htc_tx_completion_handler() local
237 ath10k_htc_process_credit_report(struct ath10k_htc *htc, const struct ath10k_htc_credit_report *report, int len, enum ath10k_htc_ep_id eid) ath10k_htc_process_credit_report() argument
272 ath10k_htc_process_lookahead(struct ath10k_htc *htc, const struct ath10k_htc_lookahead_report *report, int len, enum ath10k_htc_ep_id eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_lookahead() argument
304 ath10k_htc_process_lookahead_bundle(struct ath10k_htc *htc, const struct ath10k_htc_lookahead_bundle *report, int len, enum ath10k_htc_ep_id eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_lookahead_bundle() argument
335 ath10k_htc_process_trailer(struct ath10k_htc *htc, u8 *buffer, int length, enum ath10k_htc_ep_id src_eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_trailer() argument
430 struct ath10k_htc *htc = &ar->htc; ath10k_htc_rx_completion_handler() local
518 struct ath10k_htc *htc = &ar->htc; ath10k_htc_control_rx_complete() local
595 ath10k_htc_reset_endpoint_states(struct ath10k_htc *htc) ath10k_htc_reset_endpoint_states() argument
611 ath10k_htc_get_credit_allocation(struct ath10k_htc *htc, u16 service_id) ath10k_htc_get_credit_allocation() argument
630 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle() local
674 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_one_skb() local
689 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle_skbs() local
842 ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, struct sk_buff *skb) ath10k_htc_send_hl() argument
897 ath10k_htc_wait_target(struct ath10k_htc *htc) ath10k_htc_wait_target() argument
983 ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, bool enable) ath10k_htc_change_tx_credit_flow() argument
993 ath10k_htc_connect_service(struct ath10k_htc *htc, struct ath10k_htc_svc_conn_req *conn_req, struct ath10k_htc_svc_conn_resp *conn_resp) ath10k_htc_connect_service() argument
1225 ath10k_htc_start(struct ath10k_htc *htc) ath10k_htc_start() argument
1273 struct ath10k_htc *htc = &ar->htc; ath10k_htc_init() local
[all...]
H A Dhtc.h362 struct ath10k_htc *htc; member
408 int ath10k_htc_wait_target(struct ath10k_htc *htc);
410 int ath10k_htc_start(struct ath10k_htc *htc);
411 int ath10k_htc_connect_service(struct ath10k_htc *htc,
414 void ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc,
417 int ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
421 int ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
428 int ath10k_htc_process_trailer(struct ath10k_htc *htc,
H A Dhtt.c152 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
161 ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_connect()
167 ath10k_htc_change_tx_credit_flow(&htt->ar->htc, htt->eid, true); in ath10k_htt_connect()
H A Dsdio.c21 #include "htc.h"
384 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packet() local
397 ret = ath10k_htc_process_trailer(htc, in ath10k_sdio_mbox_rx_process_packet()
422 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packets() local
445 ep = &htc->endpoint[id]; in ath10k_sdio_mbox_rx_process_packets()
506 u8 max_msgs = ar->htc.max_msgs_per_htc_bundle; in ath10k_sdio_mbox_alloc_bundle()
559 ath10k_warn(ar, "payload length %d exceeds max htc length: %zu\n", in ath10k_sdio_mbox_rx_alloc()
582 ar->htc in ath10k_sdio_mbox_rx_alloc()
2028 struct ath10k_htc *htc = &ar->htc; ath10k_sdio_hif_map_service_to_pipe() local
[all...]
H A Dhtt_tx.c620 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_ver_req_msg()
662 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_stats_req()
724 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_32()
786 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_64()
898 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32()
967 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64()
1018 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl()
1065 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32()
1112 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2()
1156 ret = ath10k_htc_send(&ar->htc, a in ath10k_htt_tx_fetch_resp()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhtc.c68 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
70 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
73 int ath11k_htc_send(struct ath11k_htc *htc, in ath11k_htc_send() argument
77 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send()
79 struct device *dev = htc->ab->dev; in ath11k_htc_send()
80 struct ath11k_base *ab = htc->ab; in ath11k_htc_send()
94 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
95 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
100 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
108 spin_unlock_bh(&htc in ath11k_htc_send()
150 ath11k_htc_process_credit_report(struct ath11k_htc *htc, const struct ath11k_htc_credit_report *report, int len, enum ath11k_htc_ep_id eid) ath11k_htc_process_credit_report() argument
184 ath11k_htc_process_trailer(struct ath11k_htc *htc, u8 *buffer, int length, enum ath11k_htc_ep_id src_eid) ath11k_htc_process_trailer() argument
257 struct ath11k_htc *htc = &ab->htc; ath11k_htc_tx_completion_handler() local
288 struct ath11k_htc *htc = &ab->htc; ath11k_htc_rx_completion_handler() local
465 ath11k_htc_reset_endpoint_states(struct ath11k_htc *htc) ath11k_htc_reset_endpoint_states() argument
481 ath11k_htc_get_credit_allocation(struct ath11k_htc *htc, u16 service_id) ath11k_htc_get_credit_allocation() argument
496 ath11k_htc_setup_target_buffer_assignments(struct ath11k_htc *htc) ath11k_htc_setup_target_buffer_assignments() argument
523 ath11k_htc_wait_target(struct ath11k_htc *htc) ath11k_htc_wait_target() argument
595 ath11k_htc_connect_service(struct ath11k_htc *htc, struct ath11k_htc_svc_conn_req *conn_req, struct ath11k_htc_svc_conn_resp *conn_resp) ath11k_htc_connect_service() argument
765 ath11k_htc_start(struct ath11k_htc *htc) ath11k_htc_start() argument
799 struct ath11k_htc *htc = &ab->htc; ath11k_htc_init() local
[all...]
H A Dhtc.h260 struct ath11k_htc *htc; member
300 int ath11k_htc_wait_target(struct ath11k_htc *htc);
301 int ath11k_htc_start(struct ath11k_htc *htc);
302 int ath11k_htc_connect_service(struct ath11k_htc *htc,
305 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
/kernel/linux/linux-5.10/net/mac80211/
H A Ddebugfs_sta.c439 struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap; in sta_ht_capa_read() local
442 htc->ht_supported ? "" : "not "); in sta_ht_capa_read()
443 if (htc->ht_supported) { in sta_ht_capa_read()
444 p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.4x\n", htc->cap); in sta_ht_capa_read()
446 PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC"); in sta_ht_capa_read()
447 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40"); in sta_ht_capa_read()
448 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); in sta_ht_capa_read()
450 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 0, "Static SM Power Save"); in sta_ht_capa_read()
451 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save"); in sta_ht_capa_read()
452 PRINT_HT_CAP(((htc in sta_ht_capa_read()
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Ddebugfs_sta.c472 struct ieee80211_sta_ht_cap *htc = &link_sta->pub->ht_cap; in link_sta_ht_capa_read() local
481 htc->ht_supported ? "" : "not "); in link_sta_ht_capa_read()
482 if (htc->ht_supported) { in link_sta_ht_capa_read()
483 p += scnprintf(p, bufsz + buf - p, "cap: %#.4x\n", htc->cap); in link_sta_ht_capa_read()
485 PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC"); in link_sta_ht_capa_read()
486 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40"); in link_sta_ht_capa_read()
487 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); in link_sta_ht_capa_read()
489 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 0, "Static SM Power Save"); in link_sta_ht_capa_read()
490 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save"); in link_sta_ht_capa_read()
491 PRINT_HT_CAP(((htc in link_sta_ht_capa_read()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dwmi.c17 #include "htc.h"
260 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, in ath9k_wmi_connect() argument
266 wmi->htc = htc; in ath9k_wmi_connect()
275 ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid); in ath9k_wmi_connect()
305 return htc_send_epid(wmi->htc, skb, wmi->ctrl_epid); in ath9k_wmi_cmd_issue()
H A Dwmi.h150 struct htc_target *htc; member
182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
H A Dhtc_drv_init.c19 #include "htc.h"
83 if (atomic_read(&priv->htc->tgt_ready) > 0) { in ath9k_htc_wait_for_target()
84 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target()
89 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ); in ath9k_htc_wait_for_target()
95 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target()
137 return htc_connect_service(priv->htc, &req, ep_id); in ath9k_htc_connect_svc()
146 ret = ath9k_wmi_connect(priv->htc, priv->wmi, &priv->wmi_cmd_ep); in ath9k_init_htc_services()
206 priv->htc->credits = 45; in ath9k_init_htc_services()
208 priv->htc->credits = 33; in ath9k_init_htc_services()
210 ret = htc_init(priv->htc); in ath9k_init_htc_services()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dwmi.c17 #include "htc.h"
262 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, in ath9k_wmi_connect() argument
268 wmi->htc = htc; in ath9k_wmi_connect()
277 ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid); in ath9k_wmi_connect()
307 return htc_send_epid(wmi->htc, skb, wmi->ctrl_epid); in ath9k_wmi_cmd_issue()
H A Dwmi.h150 struct htc_target *htc; member
182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
H A Dhtc_drv_init.c19 #include "htc.h"
83 if (atomic_read(&priv->htc->tgt_ready) > 0) { in ath9k_htc_wait_for_target()
84 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target()
89 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ); in ath9k_htc_wait_for_target()
95 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target()
137 return htc_connect_service(priv->htc, &req, ep_id); in ath9k_htc_connect_svc()
146 ret = ath9k_wmi_connect(priv->htc, priv->wmi, &priv->wmi_cmd_ep); in ath9k_init_htc_services()
206 priv->htc->credits = 45; in ath9k_init_htc_services()
208 priv->htc->credits = 33; in ath9k_init_htc_services()
210 ret = htc_init(priv->htc); in ath9k_init_htc_services()
[all...]

Completed in 21 milliseconds

12345