Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268483
b: refs/heads/master
c: 5a8dc2e
h: refs/heads/master
i:
  268481: fae4276
  268479: 7b4f898
v: v3
  • Loading branch information
Franky Lin authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent 667c223 commit c4fbf9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 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: 8e118503b74da4fdabd3999614df5fbef7c99b71
refs/heads/master: 5a8dc2ef78b790854bf67fb688a84e293f70deba
10 changes: 0 additions & 10 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -665,16 +665,6 @@ struct bcmevent_name {
const char *name;
};

/*
* Insmod parameters for debug/test
*/

/* ARP offload agent mode */
extern uint brcmf_arp_mode;

/* ARP offload enable */
extern uint brcmf_arp_enable;

/* Override to force tx queueing all the time */
extern uint brcmf_force_tx_queueing;

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define DOT11_OUI_LEN 3
#define BCMILCP_BCM_SUBTYPE_EVENT 1
#define PKTFILTER_BUF_SIZE 2048
#define BRCMF_ARPOL_MODE 0xb /* agent|snoop|peer_autoreply */

int brcmf_msg_level;

Expand Down Expand Up @@ -859,9 +860,8 @@ int brcmf_c_preinit_ioctls(struct brcmf_pub *drvr)
(char *)&scan_unassoc_time, sizeof(scan_unassoc_time));

/* Set and enable ARP offload feature */
if (brcmf_arp_enable)
brcmf_c_arp_offload_set(drvr, brcmf_arp_mode);
brcmf_c_arp_offload_enable(drvr, brcmf_arp_enable);
brcmf_c_arp_offload_set(drvr, BRCMF_ARPOL_MODE);
brcmf_c_arp_offload_enable(drvr, true);

/* Set up pkt filter */
for (i = 0; i < drvr->pktfilter_count; i++) {
Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@ struct brcmf_info {
/* Error bits */
module_param(brcmf_msg_level, int, 0);

/* ARP offload agent mode : Enable ARP Host Auto-Reply
and ARP Peer Auto-Reply */
uint brcmf_arp_mode = 0xb;
module_param(brcmf_arp_mode, uint, 0);

/* ARP offload enable */
uint brcmf_arp_enable = true;
module_param(brcmf_arp_enable, uint, 0);

/* Network inteface name */
char iface_name[IFNAMSIZ] = "wlan";
module_param_string(iface_name, iface_name, IFNAMSIZ, 0);
Expand Down

0 comments on commit c4fbf9c

Please sign in to comment.