Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247121
b: refs/heads/master
c: afb7d3c
h: refs/heads/master
i:
  247119: cd053ba
v: v3
  • Loading branch information
Luciano Coelho committed Apr 19, 2011
1 parent 744da8a commit c2e99d4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 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: 6277ed65704d19377b0874618e5f23d64c9e71a6
refs/heads/master: afb7d3cd805df7a206439a7e7b5d1167d2bb06f6
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ int wl1271_load_firmware(struct wl1271 *wl)
* to upload_fw) */

if (wl->chip.id == CHIP_ID_1283_PG20)
wl1271_top_reg_write(wl, SDIO_IO_DS, HCI_IO_DS_6MA);
wl1271_top_reg_write(wl, SDIO_IO_DS, wl->conf.hci_io_ds);

ret = wl1271_boot_upload_firmware(wl);
if (ret < 0)
Expand Down
11 changes: 7 additions & 4 deletions trunk/drivers/net/wireless/wl12xx/boot.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,13 @@ struct wl1271_static_data {
#define SDIO_IO_DS 0xd14

/* SDIO/wSPI DS configuration values */
#define HCI_IO_DS_8MA 0
#define HCI_IO_DS_4MA 1 /* default */
#define HCI_IO_DS_6MA 2
#define HCI_IO_DS_2MA 3
enum {
HCI_IO_DS_8MA = 0,
HCI_IO_DS_4MA = 1, /* default */
HCI_IO_DS_6MA = 2,
HCI_IO_DS_2MA = 3,
};

/* end PLL configuration algorithm for wl128x */

#endif
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/wl12xx/conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,7 @@ struct conf_drv_settings {
struct conf_ht_setting ht;
struct conf_memory_settings mem_wl127x;
struct conf_memory_settings mem_wl128x;
u8 hci_io_ds;
};

#endif
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ static struct conf_drv_settings default_conf = {
.min_req_rx_blocks = 22,
.tx_min = 27,
},
.hci_io_ds = HCI_IO_DS_6MA,
};

static void __wl1271_op_remove_interface(struct wl1271 *wl);
Expand Down

0 comments on commit c2e99d4

Please sign in to comment.