Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248995
b: refs/heads/master
c: 1d7abec
h: refs/heads/master
i:
  248993: a1f2215
  248991: e1a9ddf
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 3131bdc commit b91502b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69e87c22b64b9bb03ed90fc9ed201cf41ee4f44e
refs/heads/master: 1d7abecc84b29f4e0ce0290e0326500eee0c0a40
1 change: 0 additions & 1 deletion trunk/drivers/staging/ath6kl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ ccflags-y += -DSEND_EVENT_TO_APP
ccflags-y += -DUSER_KEYS
ccflags-y += -DNO_SYNC_FLUSH
ccflags-y += -DHTC_EP_STAT_PROFILING
ccflags-y += -DATH_AR6K_11N_SUPPORT
ccflags-y += -DWAPI_ENABLE
ccflags-y += -DCHECKSUM_OFFLOAD
ccflags-y += -DWLAN_HEADERS
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,7 @@ static void ar6000_tx_complete(void *Context, struct htc_packet_queue *pPackets)

static HTC_SEND_FULL_ACTION ar6000_tx_queue_full(void *Context, struct htc_packet *pPacket);

#ifdef ATH_AR6K_11N_SUPPORT
static void ar6000_alloc_netbufs(A_NETBUF_QUEUE_T *q, u16 num);
#endif
static void ar6000_deliver_frames_to_nw_stack(void * dev, void *osbuf);
//static void ar6000_deliver_frames_to_bt_stack(void * dev, void *osbuf);

Expand Down Expand Up @@ -738,7 +736,6 @@ aptcTimerHandler(unsigned long arg)
}
#endif /* ADAPTIVE_POWER_THROUGHPUT_CONTROL */

#ifdef ATH_AR6K_11N_SUPPORT
static void
ar6000_alloc_netbufs(A_NETBUF_QUEUE_T *q, u16 num)
{
Expand All @@ -757,7 +754,6 @@ ar6000_alloc_netbufs(A_NETBUF_QUEUE_T *q, u16 num)
A_PRINTF("%s(), allocation of netbuf failed", __func__);
}
}
#endif

static struct bin_attribute bmi_attr = {
.attr = {.name = "bmi", .mode = 0600},
Expand Down Expand Up @@ -1758,7 +1754,6 @@ ar6000_avail_ev(void *context, void *hif_handle)
}
#endif

#ifdef ATH_AR6K_11N_SUPPORT
ar->aggr_cntxt = aggr_init(ar6000_alloc_netbufs);
if (!ar->aggr_cntxt) {
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("%s() Failed to initialize aggr.\n", __func__));
Expand All @@ -1767,7 +1762,6 @@ ar6000_avail_ev(void *context, void *hif_handle)
}

aggr_register_rx_dispatcher(ar->aggr_cntxt, (void *)dev, ar6000_deliver_frames_to_nw_stack);
#endif

HIFClaimDevice(ar->arHifDevice, ar);

Expand Down Expand Up @@ -2057,9 +2051,7 @@ ar6000_destroy(struct net_device *dev, unsigned int unregister)
HIFReleaseDevice(ar->arHifDevice);
HIFShutDownDevice(ar->arHifDevice);
}
#ifdef ATH_AR6K_11N_SUPPORT
aggr_module_destroy(ar->aggr_cntxt);
#endif

/* Done with cookies */
ar6000_cookie_cleanup(ar);
Expand Down Expand Up @@ -3850,9 +3842,7 @@ ar6000_rx(void *Context, struct htc_packet *pPacket)
}
}
}
#ifdef ATH_AR6K_11N_SUPPORT
aggr_process_recv_frm(ar->aggr_cntxt, tid, seq_no, is_amsdu, (void **)&skb);
#endif
ar6000_deliver_frames_to_nw_stack((void *) ar->arNetDev, (void *)skb);
}
}
Expand Down Expand Up @@ -4621,7 +4611,6 @@ ar6000_regDomain_event(struct ar6_softc *ar, u32 regCode)
ar->arRegCode = regCode;
}

#ifdef ATH_AR6K_11N_SUPPORT
void
ar6000_aggr_rcv_addba_req_evt(struct ar6_softc *ar, WMI_ADDBA_REQ_EVENT *evt)
{
Expand All @@ -4643,7 +4632,6 @@ ar6000_aggr_rcv_delba_req_evt(struct ar6_softc *ar, WMI_DELBA_EVENT *evt)
{
aggr_recv_delba_req_evt(ar->aggr_cntxt, evt->tid);
}
#endif

void register_pal_cb(ar6k_pal_config_t *palConfig_p)
{
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/ath6kl/reorder/rcv_aggr.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
*
*/

#ifdef ATH_AR6K_11N_SUPPORT

#include <a_config.h>
#include <athdefs.h>
#include <a_types.h>
Expand Down Expand Up @@ -662,5 +660,3 @@ aggr_dump_stats(void *cntxt, PACKET_LOG **log_buf)
A_PRINTF("================================================\n\n");

}

#endif /* ATH_AR6K_11N_SUPPORT */
10 changes: 0 additions & 10 deletions trunk/drivers/staging/ath6kl/wmi/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,11 @@ static int wmi_dtimexpiry_event_rx(struct wmi_t *wmip, u8 *datap,

static int wmi_peer_node_event_rx (struct wmi_t *wmip, u8 *datap,
int len);
#ifdef ATH_AR6K_11N_SUPPORT
static int wmi_addba_req_event_rx(struct wmi_t *, u8 *, int);
static int wmi_addba_resp_event_rx(struct wmi_t *, u8 *, int);
static int wmi_delba_req_event_rx(struct wmi_t *, u8 *, int);
static int wmi_btcoex_config_event_rx(struct wmi_t *wmip, u8 *datap, int len);
static int wmi_btcoex_stats_event_rx(struct wmi_t *wmip, u8 *datap, int len);
#endif
static int wmi_hci_event_rx(struct wmi_t *, u8 *, int);

#ifdef WAPI_ENABLE
Expand Down Expand Up @@ -1120,7 +1118,6 @@ wmi_control_rx(struct wmi_t *wmip, void *osbuf)
A_DPRINTF(DBG_WMI, (DBGFMT "WMI_SET_PARAMS_REPLY Event\n", DBGARG));
status = wmi_acm_reject_event_rx(wmip, datap, len);
break;
#ifdef ATH_AR6K_11N_SUPPORT
case (WMI_ADDBA_REQ_EVENTID):
status = wmi_addba_req_event_rx(wmip, datap, len);
break;
Expand All @@ -1138,7 +1135,6 @@ wmi_control_rx(struct wmi_t *wmip, void *osbuf)
A_DPRINTF(DBG_WMI, (DBGFMT "WMI_BTCOEX_STATS_EVENTID", DBGARG));
status = wmi_btcoex_stats_event_rx(wmip, datap, len);
break;
#endif
case (WMI_TX_COMPLETE_EVENTID):
{
int index;
Expand Down Expand Up @@ -5810,7 +5806,6 @@ int wmi_add_current_bss (struct wmi_t *wmip, u8 *id, bss_t *bss)
return 0;
}

#ifdef ATH_AR6K_11N_SUPPORT
static int
wmi_addba_req_event_rx(struct wmi_t *wmip, u8 *datap, int len)
{
Expand Down Expand Up @@ -5863,7 +5858,6 @@ wmi_btcoex_stats_event_rx(struct wmi_t * wmip,u8 *datap,int len)
return 0;

}
#endif

static int
wmi_hci_event_rx(struct wmi_t *wmip, u8 *datap, int len)
Expand Down Expand Up @@ -6187,7 +6181,6 @@ wmi_ap_set_rateset(struct wmi_t *wmip, u8 rateset)
return (wmi_cmd_send(wmip, osbuf, WMI_AP_SET_11BG_RATESET_CMDID, NO_SYNC_WMIFLAG));
}

#ifdef ATH_AR6K_11N_SUPPORT
int
wmi_set_ht_cap_cmd(struct wmi_t *wmip, WMI_SET_HT_CAP_CMD *cmd)
{
Expand Down Expand Up @@ -6233,7 +6226,6 @@ wmi_set_ht_op_cmd(struct wmi_t *wmip, u8 sta_chan_width)
return (wmi_cmd_send(wmip, osbuf, WMI_SET_HT_OP_CMDID,
NO_SYNC_WMIFLAG));
}
#endif

int
wmi_set_tx_select_rates_cmd(struct wmi_t *wmip, u32 *pMaskArray)
Expand Down Expand Up @@ -6275,7 +6267,6 @@ wmi_send_hci_cmd(struct wmi_t *wmip, u8 *buf, u16 sz)
return (wmi_cmd_send(wmip, osbuf, WMI_HCI_CMD_CMDID, NO_SYNC_WMIFLAG));
}

#ifdef ATH_AR6K_11N_SUPPORT
int
wmi_allow_aggr_cmd(struct wmi_t *wmip, u16 tx_tidmask, u16 rx_tidmask)
{
Expand Down Expand Up @@ -6335,7 +6326,6 @@ wmi_delete_aggr_cmd(struct wmi_t *wmip, u8 tid, bool uplink)
/* Delete the local aggr state, on host */
return (wmi_cmd_send(wmip, osbuf, WMI_DELBA_REQ_CMDID, NO_SYNC_WMIFLAG));
}
#endif

int
wmi_set_rx_frame_format_cmd(struct wmi_t *wmip, u8 rxMetaVersion,
Expand Down

0 comments on commit b91502b

Please sign in to comment.