wmi.c (aa1262b3876ec5249ff464618a7dcd46b3ca54e2) | wmi.c (416cf0b49e67254676b4762d1bab88df5130f909) |
---|---|
1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 6 unchanged lines hidden (view full) --- 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18#include <linux/ip.h> 19#include <linux/in.h> 20#include "core.h" 21#include "debug.h" 22#include "testmode.h" | 1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 6 unchanged lines hidden (view full) --- 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18#include <linux/ip.h> 19#include <linux/in.h> 20#include "core.h" 21#include "debug.h" 22#include "testmode.h" |
23#include "trace.h" |
|
23#include "../regd.h" 24#include "../regd_common.h" 25 26static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx); 27 28static const s32 wmi_rate_tbl[][2] = { 29 /* {W/O SGI, with SGI} */ 30 {1000, 1000}, --- 4050 unchanged lines hidden (view full) --- 4081 return -EINVAL; 4082 4083 if (skb->len < sizeof(struct wmi_cmd_hdr)) { 4084 ath6kl_err("bad packet 1\n"); 4085 dev_kfree_skb(skb); 4086 return -EINVAL; 4087 } 4088 | 24#include "../regd.h" 25#include "../regd_common.h" 26 27static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx); 28 29static const s32 wmi_rate_tbl[][2] = { 30 /* {W/O SGI, with SGI} */ 31 {1000, 1000}, --- 4050 unchanged lines hidden (view full) --- 4082 return -EINVAL; 4083 4084 if (skb->len < sizeof(struct wmi_cmd_hdr)) { 4085 ath6kl_err("bad packet 1\n"); 4086 dev_kfree_skb(skb); 4087 return -EINVAL; 4088 } 4089 |
4090 trace_ath6kl_wmi_event(skb->data, skb->len); 4091 |
|
4089 return ath6kl_wmi_proc_events(wmi, skb); 4090} 4091 4092void ath6kl_wmi_reset(struct wmi *wmi) 4093{ 4094 spin_lock_bh(&wmi->lock); 4095 4096 wmi->fat_pipe_exist = 0; --- 32 unchanged lines hidden --- | 4092 return ath6kl_wmi_proc_events(wmi, skb); 4093} 4094 4095void ath6kl_wmi_reset(struct wmi *wmi) 4096{ 4097 spin_lock_bh(&wmi->lock); 4098 4099 wmi->fat_pipe_exist = 0; --- 32 unchanged lines hidden --- |