Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
dad48a4e
Commit
dad48a4e
authored
Jan 19, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
98f672ca
ad580db5
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
76 additions
and
1 deletion
+76
-1
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-5000.c
+5
-0
drivers/net/wireless/iwlwifi/iwl-devtrace.c
drivers/net/wireless/iwlwifi/iwl-devtrace.c
+26
-0
drivers/net/wireless/iwlwifi/iwl-devtrace.h
drivers/net/wireless/iwlwifi/iwl-devtrace.h
+26
-0
drivers/net/wireless/iwmc3200wifi/commands.c
drivers/net/wireless/iwmc3200wifi/commands.c
+4
-0
drivers/net/wireless/iwmc3200wifi/commands.h
drivers/net/wireless/iwmc3200wifi/commands.h
+1
-0
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54pci.c
+8
-0
drivers/net/wireless/zd1211rw/zd_usb.c
drivers/net/wireless/zd1211rw/zd_usb.c
+1
-0
net/mac80211/cfg.c
net/mac80211/cfg.c
+3
-0
net/mac80211/rc80211_pid_algo.c
net/mac80211/rc80211_pid_algo.c
+1
-1
net/wireless/sme.c
net/wireless/sme.c
+1
-0
No files found.
drivers/net/wireless/iwlwifi/iwl-5000.c
View file @
dad48a4e
...
...
@@ -1598,6 +1598,7 @@ struct iwl_cfg iwl5300_agn_cfg = {
.
use_bsm
=
false
,
.
ht_greenfield_support
=
true
,
.
led_compensation
=
51
,
.
use_rts_for_ht
=
true
,
/* use rts/cts protection */
.
chain_noise_num_beacons
=
IWL_CAL_NUM_BEACONS
,
.
sm_ps_mode
=
WLAN_HT_CAP_SM_PS_DISABLED
,
};
...
...
@@ -1622,6 +1623,7 @@ struct iwl_cfg iwl5100_bgn_cfg = {
.
use_bsm
=
false
,
.
ht_greenfield_support
=
true
,
.
led_compensation
=
51
,
.
use_rts_for_ht
=
true
,
/* use rts/cts protection */
.
chain_noise_num_beacons
=
IWL_CAL_NUM_BEACONS
,
};
...
...
@@ -1667,6 +1669,7 @@ struct iwl_cfg iwl5100_agn_cfg = {
.
use_bsm
=
false
,
.
ht_greenfield_support
=
true
,
.
led_compensation
=
51
,
.
use_rts_for_ht
=
true
,
/* use rts/cts protection */
.
chain_noise_num_beacons
=
IWL_CAL_NUM_BEACONS
,
.
sm_ps_mode
=
WLAN_HT_CAP_SM_PS_DISABLED
,
};
...
...
@@ -1691,6 +1694,7 @@ struct iwl_cfg iwl5350_agn_cfg = {
.
use_bsm
=
false
,
.
ht_greenfield_support
=
true
,
.
led_compensation
=
51
,
.
use_rts_for_ht
=
true
,
/* use rts/cts protection */
.
chain_noise_num_beacons
=
IWL_CAL_NUM_BEACONS
,
.
sm_ps_mode
=
WLAN_HT_CAP_SM_PS_DISABLED
,
};
...
...
@@ -1715,6 +1719,7 @@ struct iwl_cfg iwl5150_agn_cfg = {
.
use_bsm
=
false
,
.
ht_greenfield_support
=
true
,
.
led_compensation
=
51
,
.
use_rts_for_ht
=
true
,
/* use rts/cts protection */
.
chain_noise_num_beacons
=
IWL_CAL_NUM_BEACONS
,
.
sm_ps_mode
=
WLAN_HT_CAP_SM_PS_DISABLED
,
};
...
...
drivers/net/wireless/iwlwifi/iwl-devtrace.c
View file @
dad48a4e
/******************************************************************************
*
* Copyright(c) 2009 - 2010 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
* The full GNU General Public License is included in this distribution in the
* file called LICENSE.
*
* Contact Information:
* Intel Linux Wireless <ilw@linux.intel.com>
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
*
*****************************************************************************/
#include <linux/module.h>
/* sparse doesn't like tracepoint macros */
...
...
drivers/net/wireless/iwlwifi/iwl-devtrace.h
View file @
dad48a4e
/******************************************************************************
*
* Copyright(c) 2009 - 2010 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
* The full GNU General Public License is included in this distribution in the
* file called LICENSE.
*
* Contact Information:
* Intel Linux Wireless <ilw@linux.intel.com>
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
*
*****************************************************************************/
#if !defined(__IWLWIFI_DEVICE_TRACE) || defined(TRACE_HEADER_MULTI_READ)
#define __IWLWIFI_DEVICE_TRACE
...
...
drivers/net/wireless/iwmc3200wifi/commands.c
View file @
dad48a4e
...
...
@@ -973,6 +973,10 @@ int iwm_send_pmkid_update(struct iwm_priv *iwm,
memset
(
&
update
,
0
,
sizeof
(
struct
iwm_umac_pmkid_update
));
update
.
hdr
.
oid
=
UMAC_WIFI_IF_CMD_PMKID_UPDATE
;
update
.
hdr
.
buf_size
=
cpu_to_le16
(
sizeof
(
struct
iwm_umac_pmkid_update
)
-
sizeof
(
struct
iwm_umac_wifi_if
));
update
.
command
=
cpu_to_le32
(
command
);
if
(
pmksa
->
bssid
)
memcpy
(
&
update
.
bssid
,
pmksa
->
bssid
,
ETH_ALEN
);
...
...
drivers/net/wireless/iwmc3200wifi/commands.h
View file @
dad48a4e
...
...
@@ -463,6 +463,7 @@ struct iwm_umac_cmd_stop_resume_tx {
#define IWM_CMD_PMKID_FLUSH 3
struct
iwm_umac_pmkid_update
{
struct
iwm_umac_wifi_if
hdr
;
__le32
command
;
u8
bssid
[
ETH_ALEN
];
__le16
reserved
;
...
...
drivers/net/wireless/p54/p54pci.c
View file @
dad48a4e
...
...
@@ -197,6 +197,14 @@ static void p54p_check_rx_ring(struct ieee80211_hw *dev, u32 *index,
i
%=
ring_limit
;
continue
;
}
if
(
unlikely
(
len
>
priv
->
common
.
rx_mtu
))
{
if
(
net_ratelimit
())
dev_err
(
&
priv
->
pdev
->
dev
,
"rx'd frame size "
"exceeds length threshold.
\n
"
);
len
=
priv
->
common
.
rx_mtu
;
}
skb_put
(
skb
,
len
);
if
(
p54_rx
(
dev
,
skb
))
{
...
...
drivers/net/wireless/zd1211rw/zd_usb.c
View file @
dad48a4e
...
...
@@ -62,6 +62,7 @@ static struct usb_device_id usb_ids[] = {
{
USB_DEVICE
(
0x6891
,
0xa727
),
.
driver_info
=
DEVICE_ZD1211
},
/* ZD1211B */
{
USB_DEVICE
(
0x0053
,
0x5301
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x0409
,
0x0248
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x0411
,
0x00da
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x0471
,
0x1236
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x0471
,
0x1237
),
.
driver_info
=
DEVICE_ZD1211B
},
...
...
net/mac80211/cfg.c
View file @
dad48a4e
...
...
@@ -1331,6 +1331,9 @@ static int ieee80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
struct
ieee80211_local
*
local
=
wdev_priv
(
dev
->
ieee80211_ptr
);
struct
ieee80211_conf
*
conf
=
&
local
->
hw
.
conf
;
if
(
sdata
->
vif
.
type
!=
NL80211_IFTYPE_STATION
)
return
-
EOPNOTSUPP
;
if
(
!
(
local
->
hw
.
flags
&
IEEE80211_HW_SUPPORTS_PS
))
return
-
EOPNOTSUPP
;
...
...
net/mac80211/rc80211_pid_algo.c
View file @
dad48a4e
...
...
@@ -190,7 +190,7 @@ static void rate_control_pid_sample(struct rc_pid_info *pinfo,
rate_control_pid_normalize
(
pinfo
,
sband
->
n_bitrates
);
/* Compute the proportional, integral and derivative errors. */
err_prop
=
(
pinfo
->
target
<<
RC_PID_ARITH_SHIFT
)
-
pf
;
err_prop
=
(
pinfo
->
target
-
pf
)
<<
RC_PID_ARITH_SHIFT
;
err_avg
=
spinfo
->
err_avg_sc
>>
pinfo
->
smoothing_shift
;
spinfo
->
err_avg_sc
=
spinfo
->
err_avg_sc
-
err_avg
+
err_prop
;
...
...
net/wireless/sme.c
View file @
dad48a4e
...
...
@@ -655,6 +655,7 @@ void __cfg80211_disconnected(struct net_device *dev, const u8 *ie,
memset
(
&
wrqu
,
0
,
sizeof
(
wrqu
));
wrqu
.
ap_addr
.
sa_family
=
ARPHRD_ETHER
;
wireless_send_event
(
dev
,
SIOCGIWAP
,
&
wrqu
,
NULL
);
wdev
->
wext
.
connect
.
ssid_len
=
0
;
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment