Christophe RICARD | 25 Jul 23:04 2014
Picon

Re: [PATCH] NFC: st21nfca: Convert to use devm_gpio_request_one

On Mon, 26 May 2014 16:00:08 +0200
Axel Lin <axel.lin@...> wrote:

> 
> This simplifies the code a bit.
> 
> Signed-off-by: Axel Lin <axel.lin@...>
> ---
>  drivers/nfc/st21nfca/i2c.c | 28 ++++++----------------------
>  1 file changed, 6 insertions(+), 22 deletions(-)
> 
> diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
> index 3f954ed..0e096ad 100644 --- a/drivers/nfc/st21nfca/i2c.c
> +++ b/drivers/nfc/st21nfca/i2c.c
>  <at>  <at>  -524,17 +524,13  <at>  <at>  static int
> st21nfca_hci_i2c_of_request_resources(struct i2c_client *client) }
>  
>  	/* GPIO request and configuration */
> -	r = devm_gpio_request(&client->dev, gpio, "clf_enable");
> +	r = devm_gpio_request_one(&client->dev, gpio,
> GPIOF_OUT_INIT_HIGH,
> +				  "clf_enable");
>  	if (r) {
>  		nfc_err(&client->dev, "Failed to request enable
> pin\n"); return -ENODEV;
>  	}
>  
> -	r = gpio_direction_output(gpio, 1);
> -	if (r) {
> -		nfc_err(&client->dev, "Failed to set enable pin
(Continue reading)

Malcolm Priestley | 25 Jul 21:51 2014
Picon

[PATCH 01/12] staging: vt6656: rename device_set_options to vnt_set_options

changing device to vnt

Signed-off-by: Malcolm Priestley <tvboxspy@...>
---
 drivers/staging/vt6656/main_usb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index fdc5c7b..7e8551f 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
 <at>  <at>  -104,7 +104,7  <at>  <at>  static struct usb_device_id vt6656_table[] = {
 	{}
 };

-static void device_set_options(struct vnt_private *priv)
+static void vnt_set_options(struct vnt_private *priv)
 {
 	/* Set number of TX buffers */
 	if (vnt_tx_buffers < CB_MIN_TX_DESC || vnt_tx_buffers > CB_MAX_TX_DESC)
 <at>  <at>  -997,7 +997,7  <at>  <at>  vt6656_probe(struct usb_interface *intf, const struct usb_device_id *id)
 	priv->hw = hw;
 	priv->usb = udev;

-	device_set_options(priv);
+	vnt_set_options(priv);

 	spin_lock_init(&priv->lock);
 	mutex_init(&priv->usb_lock);
--

-- 
(Continue reading)

Felix Fietkau | 25 Jul 16:20 2014

[PATCH 1/2] mac80211: ignore AP_VLAN in ieee80211_recalc_chanctx_chantype

When bringing down the AP, a WARN_ON is hit because the bss config chandef
is empty here.
Since AP_VLAN channel settings do not matter for anything chanctx related
(always inherits the settings from the AP interface), let's just ignore
it here.

Signed-off-by: Felix Fietkau <nbd@...>
---
 net/mac80211/chan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index 6d537f0..4206a11 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
 <at>  <at>  -541,6 +541,8  <at>  <at>  static void ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local,
 			continue;
 		if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf)
 			continue;
+		if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
+			continue;

 		if (!compat)
 			compat = &sdata->vif.bss_conf.chandef;
--

-- 
1.8.5.2 (Apple Git-48)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
(Continue reading)

Johannes Berg | 25 Jul 15:02 2014
Picon

[PATCH] mac80211: make ieee80211_vif_use_reserved_switch static

From: Johannes Berg <johannes.berg@...>

Reorder some code to make ieee80211_vif_use_reserved_switch()
static, no other changes.

Signed-off-by: Johannes Berg <johannes.berg@...>
---
 net/mac80211/chan.c        | 187 ++++++++++++++++++++++-----------------------
 net/mac80211/ieee80211_i.h |   1 -
 2 files changed, 93 insertions(+), 95 deletions(-)

diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index 6d537f03c0ba..792eac6cc7b3 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
 <at>  <at>  -637,41 +637,6  <at>  <at>  out:
 	return ret;
 }

-static void __ieee80211_vif_release_channel(struct ieee80211_sub_if_data *sdata)
-{
-	struct ieee80211_local *local = sdata->local;
-	struct ieee80211_chanctx_conf *conf;
-	struct ieee80211_chanctx *ctx;
-	bool use_reserved_switch = false;
-
-	lockdep_assert_held(&local->chanctx_mtx);
-
-	conf = rcu_dereference_protected(sdata->vif.chanctx_conf,
-					 lockdep_is_held(&local->chanctx_mtx));
(Continue reading)

Michal Kazior | 25 Jul 13:32 2014

[PATCH] ath10k: add support for 10.2 firmware

The 10.2 firmware is a successor of 10.1 firmware
(formerly identified as 10.x). Both share a lot
but have some slight ABI differences that need to
be taken care of.

The 10.2 firmware introduces some new features but
those can be added in subsequent patches. This
patch makes ath10k boot and work with 10.2 with
comparable functionality to 10.1.

Signed-off-by: Michal Kazior <michal.kazior@...>
---
 drivers/net/wireless/ath/ath10k/core.c |  14 +
 drivers/net/wireless/ath/ath10k/core.h |   5 +
 drivers/net/wireless/ath/ath10k/hw.h   |   3 +-
 drivers/net/wireless/ath/ath10k/pci.c  |   2 +-
 drivers/net/wireless/ath/ath10k/wmi.c  | 453 +++++++++++++++++++++++++++++++--
 drivers/net/wireless/ath/ath10k/wmi.h  | 233 ++++++++++++++++-
 6 files changed, 680 insertions(+), 30 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 93adb8c..bef797d 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
 <at>  <at>  -499,6 +499,13  <at>  <at>  static int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name)
 		goto err;
 	}

+	if (test_bit(ATH10K_FW_FEATURE_WMI_10_2, ar->fw_features) &&
+	    !test_bit(ATH10K_FW_FEATURE_WMI_10X, ar->fw_features)) {
(Continue reading)

Kalle Valo | 25 Jul 11:10 2014

Pull request: ath 20140725

Hi John,

here's an ath10k pull request which I'm still hoping to get to 3.17,
especially because of the rx reordering and IBSS advertisement fixes.
But if we don't get these to 3.17 it won't be the end of the world
either :)

Please let me know if there are any problems.

The changelog:

Michal and Janusz did some important RX aggregation fixes, basically we
were missing RX reordering altogether. The 10.1 firmware doesn't support
Ad-Hoc mode and Michal fixed ath10k so that it doesn't advertise Ad-Hoc
support with that firmware. Also he implemented a workaround for a KVM
issue.

The following changes since commit bac9832076ee3b134bc859e07698c99276fc9459:

  b43: enable 5 GHz support for N-PHY devices (2014-07-23 13:08:36 -0400)

are available in the git repository at:

  git://github.com/kvalo/ath.git tags/for-linville-20140725

for you to fetch changes up to 0ccb7a3485e5526dca69f036b0d6c5148c78b3f8:

  ath10k: handle attention flags correctly when using A-MSDU (2014-07-25 11:51:07 +0300)

----------------------------------------------------------------
(Continue reading)

Chis, Ioan | 25 Jul 08:28 2014
Picon

Charity Code: 29Q118

$1 Million USD. Has been donated to you kindly contact the donator Mr. Harry Black via personal email (
harryblack25@...<mailto:harryblack25@...> )
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Chis, Ioan | 25 Jul 04:50 2014
Picon

Charity Code: 29Q118

$1 Million USD. Has been donated to you kindly contact the donator Mr. Harry Black via personal email (
harryblack25@...<mailto:harryblack25@...> )
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Malcolm Priestley | 25 Jul 00:34 2014
Picon

[PATCH 1/5] staging: vt6656: dpc.h remove dead function prototypes

Removing
RXvWorkItem
RXvFreeRCB

Signed-off-by: Malcolm Priestley <tvboxspy@...>
---
 drivers/staging/vt6656/dpc.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/vt6656/dpc.h b/drivers/staging/vt6656/dpc.h
index 1df2ae8..d538aa3 100644
--- a/drivers/staging/vt6656/dpc.h
+++ b/drivers/staging/vt6656/dpc.h
 <at>  <at>  -32,10 +32,6  <at>  <at> 
 #include "device.h"
 #include "wcmd.h"

-void RXvWorkItem(struct work_struct *work);
-
-void RXvFreeRCB(struct vnt_rcb *pRCB, int bReAllocSkb);
Malcolm Priestley | 24 Jul 22:13 2014
Picon

[PATCH 1/8] staging: vt6656: Remove flags fMP_POST_READS and fMP_POST_WRITES

MP_IS_READY(fMP_DISCONNECTED) is used to block thread in vnt_tx_context

Signed-off-by: Malcolm Priestley <tvboxspy@...>
---
 drivers/staging/vt6656/device.h   | 2 --
 drivers/staging/vt6656/main_usb.c | 4 ----
 drivers/staging/vt6656/usbpipe.c  | 2 +-
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index 6b7bb8c..273c663 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
 <at>  <at>  -406,8 +406,6  <at>  <at>  struct vnt_private {
 }

 #define fMP_DISCONNECTED                    0x00000002
-#define fMP_POST_READS                      0x00000100
-#define fMP_POST_WRITES                     0x00000200

 #define MP_SET_FLAG(_M, _F)             ((_M)->Flags |= (_F))
 #define MP_CLEAR_FLAG(_M, _F)            ((_M)->Flags &= ~(_F))
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index b99def7..f887bc0 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
 <at>  <at>  -552,8 +552,6  <at>  <at>  static int vnt_start(struct ieee80211_hw *hw)
 	}

 	MP_CLEAR_FLAG(priv, fMP_DISCONNECTED);
(Continue reading)

Peter Hans | 24 Jul 21:22 2014
Picon

Please reply

Good day,

Here is a pdf attachment of my proposal to you. Please read and reply I
would be grateful.

Peter Hans wrote:
Attachment (Good day.pdf): application/pdf, 110 KiB

Gmane