Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314220
b: refs/heads/master
c: 1023fdc
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jun 6, 2012
1 parent abce985 commit cc61116
Show file tree
Hide file tree
Showing 36 changed files with 107 additions and 116 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: 20041ea622fcb1992df536d253de5120808e64a5
refs/heads/master: 1023fdc4858b6b8cb88ff28cafd425b77555be9f
15 changes: 2 additions & 13 deletions trunk/drivers/net/wireless/iwlwifi/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# DVM
obj-$(CONFIG_IWLDVM) += iwldvm.o
iwldvm-objs := iwl-agn.o iwl-agn-rs.o iwl-mac80211.o
iwldvm-objs += iwl-ucode.o iwl-agn-tx.o
iwldvm-objs += iwl-agn-lib.o iwl-agn-calib.o
iwldvm-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-rx.o
iwldvm-objs += iwl-eeprom.o iwl-power.o
iwldvm-objs += iwl-scan.o iwl-led.o
iwldvm-objs += iwl-agn-rxon.o iwl-agn-devices.o

iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
iwldvm-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += iwl-testmode.o
obj-$(CONFIG_IWLDVM) += dvm/

CFLAGS_iwl-devtrace.o := -I$(src)

# WIFI
# common
obj-$(CONFIG_IWLWIFI) += iwlwifi.o
iwlwifi-objs += iwl-io.o
iwlwifi-objs += iwl-drv.o
Expand Down
13 changes: 13 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/dvm/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DVM
obj-$(CONFIG_IWLDVM) += iwldvm.o
iwldvm-objs += main.o rs.o mac80211.o ucode.o tx.o
iwldvm-objs += lib.o calib.o tt.o sta.o rx.o

iwldvm-objs += eeprom.o power.o
iwldvm-objs += scan.o led.o
iwldvm-objs += rxon.o devices.o

iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o
iwldvm-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += testmode.o

ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@
#ifndef __iwl_agn_h__
#define __iwl_agn_h__

#include "iwl-dev.h"
#include "iwl-config.h"

#include "dev.h"

/* The first 11 queues (0-10) are used otherwise */
#define IWLAGN_FIRST_AMPDU_QUEUE 11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
#include <linux/slab.h>
#include <net/mac80211.h>

#include "iwl-dev.h"
#include "iwl-agn-calib.h"
#include "iwl-trans.h"
#include "iwl-agn.h"

#include "dev.h"
#include "calib.h"
#include "agn.h"

/*****************************************************************************
* INIT calibrations framework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
#ifndef __iwl_calib_h__
#define __iwl_calib_h__

#include "iwl-dev.h"
#include "iwl-commands.h"
#include "dev.h"
#include "commands.h"

void iwl_chain_noise_calibration(struct iwl_priv *priv);
void iwl_sensitivity_calibration(struct iwl_priv *priv);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
*
*****************************************************************************/
/*
* Please use this file (iwl-commands.h) only for uCode API definitions.
* Please use this file (commands.h) only for uCode API definitions.
* Please use iwl-xxxx-hw.h for hardware-related definitions.
* Please use iwl-dev.h for driver implementation definitions.
* Please use dev.h for driver implementation definitions.
*/

#ifndef __iwl_commands_h__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/debugfs.h>

#include <linux/ieee80211.h>
#include <net/mac80211.h>


#include "iwl-dev.h"
#include "iwl-debug.h"
#include "iwl-io.h"
#include "iwl-agn.h"
#include "iwl-modparams.h"
#include "dev.h"
#include "agn.h"

/* create and remove of files */
#define DEBUGFS_ADD_FILE(name, parent, mode) do { \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*
*****************************************************************************/
/*
* Please use this file (iwl-dev.h) for driver implementation definitions.
* Please use iwl-commands.h for uCode API definitions.
* Please use this file (dev.h) for driver implementation definitions.
* Please use commands.h for uCode API definitions.
*/

#ifndef __iwl_dev_h__
Expand All @@ -39,17 +39,18 @@
#include <linux/mutex.h>

#include "iwl-fw.h"
#include "iwl-eeprom.h"
#include "iwl-csr.h"
#include "iwl-debug.h"
#include "iwl-agn-hw.h"
#include "iwl-led.h"
#include "iwl-power.h"
#include "iwl-agn-rs.h"
#include "iwl-agn-tt.h"
#include "iwl-trans.h"
#include "iwl-op-mode.h"
#include "iwl-notif-wait.h"
#include "iwl-trans.h"

#include "eeprom.h"
#include "led.h"
#include "power.h"
#include "rs.h"
#include "tt.h"

/* CT-KILL constants */
#define CT_KILL_THRESHOLD_LEGACY 110 /* in Celsius */
Expand Down Expand Up @@ -664,7 +665,7 @@ struct iwl_lib_ops {
/* device specific configuration */
void (*nic_config)(struct iwl_priv *priv);

/* eeprom operations (as defined in iwl-eeprom.h) */
/* eeprom operations (as defined in eeprom.h) */
struct iwl_eeprom_ops eeprom_ops;

/* temperature */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
/*
* DVM device-specific data & functions
*/
#include "iwl-agn.h"
#include "iwl-dev.h"
#include "iwl-commands.h"
#include "iwl-io.h"
#include "iwl-prph.h"

#include "agn.h"
#include "dev.h"
#include "commands.h"

/*
* 1000 series
* ===========
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,13 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>

#include <net/mac80211.h>

#include "iwl-dev.h"
#include "iwl-debug.h"
#include "iwl-agn.h"
#include "iwl-eeprom.h"
#include "iwl-io.h"
#include "iwl-prph.h"
#include "iwl-debug.h"
#include "dev.h"
#include "agn.h"
#include "eeprom.h"

/************************** EEPROM BANDS ****************************
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
#include <net/mac80211.h>
#include <linux/etherdevice.h>
#include <asm/unaligned.h>

#include "iwl-dev.h"
#include "iwl-agn.h"
#include "iwl-io.h"
#include "iwl-trans.h"
#include "iwl-modparams.h"
#include "dev.h"
#include "agn.h"

/* Throughput OFF time(ms) ON time (ms)
* >300 25 25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@
#include <linux/sched.h>
#include <net/mac80211.h>

#include "iwl-dev.h"
#include "iwl-io.h"
#include "iwl-agn-hw.h"
#include "iwl-agn.h"
#include "iwl-trans.h"
#include "iwl-modparams.h"

#include "dev.h"
#include "agn.h"

int iwlagn_hw_valid_rtc_data_addr(u32 addr)
{
return (addr >= IWLAGN_RTC_DATA_LOWER_BOUND) &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@

#include <asm/div64.h>

#include "iwl-eeprom.h"
#include "iwl-dev.h"
#include "iwl-io.h"
#include "iwl-agn-calib.h"
#include "iwl-agn.h"
#include "iwl-trans.h"
#include "iwl-op-mode.h"
#include "iwl-modparams.h"

#include "eeprom.h"
#include "dev.h"
#include "calib.h"
#include "agn.h"

/*****************************************************************************
*
* mac80211 entry point functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@

#include <asm/div64.h>

#include "iwl-eeprom.h"
#include "iwl-dev.h"
#include "iwl-io.h"
#include "iwl-agn-calib.h"
#include "iwl-agn.h"
#include "iwl-trans.h"
#include "iwl-op-mode.h"
#include "iwl-drv.h"
#include "iwl-modparams.h"

#include "eeprom.h"
#include "dev.h"
#include "calib.h"
#include "agn.h"

/******************************************************************************
*
* module boiler plate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,16 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>

#include <net/mac80211.h>

#include "iwl-eeprom.h"
#include "iwl-dev.h"
#include "iwl-agn.h"
#include "iwl-io.h"
#include "iwl-commands.h"
#include "iwl-debug.h"
#include "iwl-power.h"
#include "iwl-trans.h"
#include "iwl-modparams.h"
#include "eeprom.h"
#include "dev.h"
#include "agn.h"
#include "commands.h"
#include "power.h"

/*
* Setting power level allows the card to go to sleep when not busy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef __iwl_power_setting_h__
#define __iwl_power_setting_h__

#include "iwl-commands.h"
#include "commands.h"

struct iwl_power_mgr {
struct iwl_powertable_cmd sleep_cmd;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@

#include <linux/workqueue.h>

#include "iwl-dev.h"
#include "iwl-agn.h"
#include "iwl-op-mode.h"
#include "iwl-modparams.h"
#include "dev.h"
#include "agn.h"

#define RS_NAME "iwl-agn-rs"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@

#include <net/mac80211.h>

#include "iwl-commands.h"
#include "iwl-config.h"

#include "commands.h"

struct iwl_rate_info {
u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */
u8 plcp_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@
#include <linux/sched.h>
#include <net/mac80211.h>
#include <asm/unaligned.h>
#include "iwl-eeprom.h"
#include "iwl-dev.h"
#include "iwl-io.h"
#include "iwl-agn-calib.h"
#include "iwl-agn.h"
#include "iwl-modparams.h"
#include "eeprom.h"
#include "dev.h"
#include "calib.h"
#include "agn.h"

#define IWL_CMD_ENTRY(x) [x] = #x

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
*****************************************************************************/

#include <linux/etherdevice.h>
#include "iwl-dev.h"
#include "iwl-agn.h"
#include "iwl-agn-calib.h"
#include "iwl-trans.h"
#include "iwl-modparams.h"
#include "dev.h"
#include "agn.h"
#include "calib.h"

/*
* initialize rxon structure with default values from eeprom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
#include <linux/etherdevice.h>
#include <net/mac80211.h>

#include "iwl-eeprom.h"
#include "iwl-dev.h"
#include "iwl-io.h"
#include "iwl-agn.h"
#include "iwl-trans.h"
#include "eeprom.h"
#include "dev.h"
#include "agn.h"

/* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after
* sending probe req. This should be set long enough to hear probe responses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
*****************************************************************************/
#include <linux/etherdevice.h>
#include <net/mac80211.h>

#include "iwl-dev.h"
#include "iwl-agn.h"
#include "iwl-trans.h"
#include "dev.h"
#include "agn.h"

const u8 iwl_bcast_addr[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };

Expand Down
Loading

0 comments on commit cc61116

Please sign in to comment.