Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/p54/fwio.c

Issue 5326002: Update compat-wireless to 2.6.36-5-spn (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Fixes for !ACK handling, missing local changes, log message fixes Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Firmware I/O code for mac80211 Prism54 drivers 2 * Firmware I/O code for mac80211 Prism54 drivers
3 * 3 *
4 * Copyright (c) 2006, Michael Wu <flamingice@sourmilk.net> 4 * Copyright (c) 2006, Michael Wu <flamingice@sourmilk.net>
5 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de> 5 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de>
6 * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
7 * 7 *
8 * Based on: 8 * Based on:
9 * - the islsm (softmac prism54) driver, which is: 9 * - the islsm (softmac prism54) driver, which is:
10 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 10 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 end_data = NULL; 118 end_data = NULL;
119 break; 119 break;
120 default: 120 default:
121 break; 121 break;
122 } 122 }
123 bootrec = (struct bootrec *)&bootrec->data[len]; 123 bootrec = (struct bootrec *)&bootrec->data[len];
124 } 124 }
125 125
126 if (fw_version) 126 if (fw_version)
127 wiphy_info(priv->hw->wiphy, 127 wiphy_info(priv->hw->wiphy,
128 » » » "fw rev %s - softmac protocol %x.%x\n", 128 » » » "FW rev %s - Softmac protocol %x.%x\n",
129 fw_version, priv->fw_var >> 8, priv->fw_var & 0xff); 129 fw_version, priv->fw_var >> 8, priv->fw_var & 0xff);
130 130
131 if (priv->fw_var < 0x500) 131 if (priv->fw_var < 0x500)
132 wiphy_info(priv->hw->wiphy, 132 wiphy_info(priv->hw->wiphy,
133 "you are using an obsolete firmware. " 133 "you are using an obsolete firmware. "
134 "visit http://wireless.kernel.org/en/users/Drivers/p5 4 " 134 "visit http://wireless.kernel.org/en/users/Drivers/p5 4 "
135 "and grab one for \"kernel >= 2.6.28\"!\n"); 135 "and grab one for \"kernel >= 2.6.28\"!\n");
136 136
137 if (priv->fw_var >= 0x300) { 137 if (priv->fw_var >= 0x300) {
138 /* Firmware supports QoS, use it! */ 138 /* Firmware supports QoS, use it! */
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 * will only be told to the p54_assign_address, so that following 707 * will only be told to the p54_assign_address, so that following
708 * frames won't be placed into the allegedly empty area. 708 * frames won't be placed into the allegedly empty area.
709 */ 709 */
710 txinfo = IEEE80211_SKB_CB(skb); 710 txinfo = IEEE80211_SKB_CB(skb);
711 p54info = (void *) txinfo->rate_driver_data; 711 p54info = (void *) txinfo->rate_driver_data;
712 p54info->extra_len = sizeof(struct p54_statistics); 712 p54info->extra_len = sizeof(struct p54_statistics);
713 713
714 p54_tx(priv, skb); 714 p54_tx(priv, skb);
715 return 0; 715 return 0;
716 } 716 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698