old mode 100644new mode 100755.. | .. |
---|
126 | 126 | struct work_struct work; |
---|
127 | 127 | }; |
---|
128 | 128 | |
---|
| 129 | +struct apm_probe_sta { |
---|
| 130 | + u8 sta_mac_addr[6]; |
---|
| 131 | + u8 vif_idx; |
---|
| 132 | + u64 probe_id; |
---|
| 133 | + struct work_struct apmprobestaWork; |
---|
| 134 | + struct workqueue_struct *apmprobesta_wq; |
---|
| 135 | +}; |
---|
129 | 136 | /// Possible States of the TDLS link. |
---|
130 | 137 | enum tdls_status_tag { |
---|
131 | 138 | /// TDLS link is not active (no TDLS peer connected) |
---|
.. | .. |
---|
229 | 236 | |
---|
230 | 237 | u8_l key_has_add; |
---|
231 | 238 | u8_l is_p2p_vif; |
---|
| 239 | + struct apm_probe_sta sta_probe; |
---|
232 | 240 | }; |
---|
233 | 241 | |
---|
234 | 242 | #define RWNX_VIF_TYPE(rwnx_vif) (rwnx_vif->wdev.iftype) |
---|
.. | .. |
---|
272 | 280 | * @rx_rate: Statistics of the received rates |
---|
273 | 281 | */ |
---|
274 | 282 | struct rwnx_sta_stats { |
---|
275 | | -#ifdef CONFIG_RWNX_DEBUGFS |
---|
276 | 283 | struct hw_vect last_rx; |
---|
277 | 284 | struct rwnx_rx_rate_stats rx_rate; |
---|
278 | | -#endif |
---|
279 | 285 | }; |
---|
280 | 286 | |
---|
281 | 287 | /* |
---|
.. | .. |
---|
406 | 412 | bool limit_bw; |
---|
407 | 413 | }; |
---|
408 | 414 | |
---|
| 415 | + |
---|
| 416 | +struct defrag_ctrl_info { |
---|
| 417 | + struct list_head list; |
---|
| 418 | + u8 sta_idx; |
---|
| 419 | + u8 tid; |
---|
| 420 | + u16 sn; |
---|
| 421 | + u8 next_fn; |
---|
| 422 | + u16 frm_len; |
---|
| 423 | + struct sk_buff *skb; |
---|
| 424 | + struct timer_list defrag_timer; |
---|
| 425 | +}; |
---|
| 426 | + |
---|
| 427 | +struct amsdu_subframe_hdr { |
---|
| 428 | + u8 da[6]; |
---|
| 429 | + u8 sa[6]; |
---|
| 430 | + u16 sublen; |
---|
| 431 | +}; |
---|
| 432 | + |
---|
409 | 433 | struct rwnx_hw { |
---|
410 | 434 | struct rwnx_mod_params *mod_params; |
---|
411 | 435 | struct device *dev; |
---|
.. | .. |
---|
490 | 514 | struct rwnx_vif *p2p_dev_vif; |
---|
491 | 515 | atomic_t p2p_alive_timer_count; |
---|
492 | 516 | bool band_5g_support; |
---|
| 517 | + u8_l vendor_info; |
---|
| 518 | + bool fwlog_en; |
---|
| 519 | + |
---|
| 520 | + struct list_head defrag_list; |
---|
| 521 | + spinlock_t defrag_lock; |
---|
| 522 | + |
---|
| 523 | + struct work_struct apmStalossWork; |
---|
| 524 | + struct workqueue_struct *apmStaloss_wq; |
---|
| 525 | + u8 apm_vif_idx; |
---|
| 526 | + u8 sta_mac_addr[6]; |
---|
| 527 | + |
---|
| 528 | + struct wakeup_source *ws_rx; |
---|
| 529 | + struct wakeup_source *ws_tx; |
---|
| 530 | + struct wakeup_source *ws_pwrctrl; |
---|
| 531 | + |
---|
| 532 | + u8 wakeup_enable; |
---|
| 533 | + u32 hostwake_irq_num; |
---|
493 | 534 | }; |
---|
494 | 535 | |
---|
495 | 536 | u8 *rwnx_build_bcn(struct rwnx_bcn *bcn, struct cfg80211_beacon_data *new); |
---|
.. | .. |
---|
512 | 553 | } else { |
---|
513 | 554 | return vif->vif_index; |
---|
514 | 555 | } |
---|
515 | | -} |
---|
516 | | - |
---|
517 | | -static inline void *rwnx_get_shared_trace_buf(struct rwnx_hw *rwnx_hw) |
---|
518 | | -{ |
---|
519 | | - return (void *)&(rwnx_hw->debugfs.fw_trace.buf); |
---|
520 | 556 | } |
---|
521 | 557 | |
---|
522 | 558 | void rwnx_external_auth_enable(struct rwnx_vif *vif); |
---|