- 14 1月, 2014 1 次提交
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-next由 John W. Linville 提交于
Samuel Ortiz <sameo@linux.intel.com> says: "This is the first NFC pull request for 3.14 It includes: * A new NFC driver for Marvell's 8897, and a few NCI fixes and improvements needed to support this chipset. * An LLCP fix for how we were setting the default MIU on a p2p link. If there is no explicit MIU extension announced at connection time, we must use the default one and not the one announced at LLCP link establishement time. * A pn544 EEPROM config update. Some of the currently EEPROM configured values are overwriting the firmware ones while other should not be set by the driver itself. * Some NFC digital stack fixes and improvements. Asynchronous functions are better documented, RF technologies and CRC functions are set upon PSL_REQ reception, and a few minor bugs are fixed. * Minor and miscelaneous pn533, mei_phy and port100 fixes." Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
- 09 1月, 2014 24 次提交
-
-
由 Sujith Manoharan 提交于
Fast Channel Change across bands was enabled for AR9462 recently, but this is causing baseband issues. Disable it until this feature is tested well. Also, remove the feature bit for AR9565 since it is a single-band card and doesn't support this feature. Cc: stable@vger.kernel.org Reported-by: NOleksij Rempel <linux@rempel-privat.de> Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Sujith Manoharan 提交于
Accessing the current channel definition in mac80211 when processing RX packets is problematic because it could have been updated when a scan is issued. Since a channel change involves flushing the existing packets in the RX queue before a chip-reset is done, they would be processed using the wrong band/channel information. To avoid this, use the current channel information maintained in the driver. Cc: stable@vger.kernel.org Reported-by: NOleksij Rempel <linux@rempel-privat.de> Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Sujith Manoharan 提交于
* Add new AR9565 1.0/1.0.1/1.1 IDs * Change Dell/Lenovo/Samsung cards to 2-Antenna with diversity. Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Bing Zhao 提交于
Instead of having two copies of the code for device tree cfgdata downloading, add a function to improve the code. Reviewed-by: NPaul Stewart <pstew@chromium.org> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Bing Zhao 提交于
If cfgdata length exceeds the command buffer size we will end up getting buffer overflow problem. Fix it by checking the buffer size less the command header length. Reviewed-by: NPaul Stewart <pstew@chromium.org> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Vladimir Kondratiev 提交于
As soon as skb is ready to be reaped, prefetch 1-st cache line. This accelerates data access that is performed later, during the packet classification by the driver and IP stack. Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Vladimir Kondratiev 提交于
Bit DMA_CFG_DESC_TX_OFFLOAD_CFG_L3T_IPV4_POS should be set for IPv4 only. Don't set it for IPv6 Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Vladimir Kondratiev 提交于
Use hardware capabilities to limit IRQ generation to about 15 per msec It corresponds to about 7 packets/IRQ when running iperf with default parameters at 1.3Gbps Do not enable this feature in the sniffer (monitor) mode, because interrupt moderation cause timestamp accuracy deterioration. For the sniffer flow, it is important to get precise timestamp. Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Arend van Spriel 提交于
This patch adds support for the bcm43362 1x1 11n chipset. This chipset is used in AP6210 wifi module found on Cubieboard [1]. [1] http://cubieboard.org/Reviewed-by: NFranky Lin <frankyl@broadcom.com> Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: NHante Meuleman <meuleman@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Pavel Machek 提交于
wl1251: fix NULL pointer dereference Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Reported-by: NFelipe Contreras <felipe.contreras@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Pavel Machek 提交于
Add nvs file name to module firmware list Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
The firmware doesn't support per packet encryption selection, so disable hw encryption support completely while a monitor interface is present to support injection of packets (which shouldn't get encrypted by hw). To enforce the changed hw encryption support force a disassociation on non-monitor interfaces. For disassociation a workaround using hw connection monitor is employed, which temporary enables hw connection manager flag. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Set the retry limit to 0 and disable the ACK policy for injected packets. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
If necessary enable the tx path in monitor mode for packet injection using the JOIN command with BSS_TYPE_STA_BSS and zero BSSID. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Use the ENABLE_RX command for channel switching when no interface is present (monitor mode only). The advantage of ENABLE_RX is that it leaves the tx data path disabled in firmware, whereas the usual JOIN command seems to transmit some frames at firmware level. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Force power saving off while monitor interface is present. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Port multicast address filtering from wl1271 driver. It sets up the hardware multicast address filter in configure_filter() with addresses supplied through prepare_multicast(). Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Disable hardware encryption (DF_ENCRYPTION_DISABLE) and decryption (DF_SNIFF_MODE_ENABLE) via wl1251_acx_feature_cfg while monitor interface is present. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Split up data path initialisation into RX and TX data path initialisation functions. This change is required for channel switching in monitor mode. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Update hardware ARP filter configuration on BSS_CHANGED_ARP_FILTER notification from mac80211. Ported from wl1271 driver. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
Port of the power save entry retry code from wl1251 driver version included in the Maemo Fremantle kernel. This tries to enable power save mode up to 3 times before failing. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 David Gnedt 提交于
With a dissasociated card I often encoutered very long scan delays. My guess is that it has something to do with the cards DTIM handling and another firmware bug mentioned in the TI WLAN driver, which is described as the card may never end scanning if the channel is overloaded because it can't send probe requests. I think the firmware somehow also tries to receive DTIM messages when the BSSID is not set. Therefore most of the time it waits for DTIM messages and can't do scanning work. Anyway we can workaround this misbehaviour by setting the HIGH_PRIORITY bit for scans in disassociated state. Signed-off-by: NDavid Gnedt <david.gnedt@davizone.at> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Amitkumar Karwar 提交于
This patch fixes memory leaks in the error paths of nfcmrvl_nci_register_dev() routine. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 John W. Linville 提交于
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
-
- 08 1月, 2014 2 次提交
-
-
由 Thierry Escande 提交于
This patch sets the correct rf tech value and crc functions in target mode when receiving a PSL_REQ, as done when receiving an ATR_REQ. Signed-off-by: NThierry Escande <thierry.escande@linux.intel.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Thierry Escande 提交于
The curr_protocol field of nfc_digital_dev structure used to determine if a target is currently active was set too soon, immediately when a target is found. This is not good since there is no other way than deactivate_target() to reset curr_protocol and if activate_target() is not called, the target remains active and it's not possible to put the device in poll mode anymore. With this patch curr_protocol is set when nfc core activates a target, puts a device up, or when an ATR_REQ is received in target mode. Signed-off-by: NThierry Escande <thierry.escande@linux.intel.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 07 1月, 2014 13 次提交
-
-
由 Claudio Takahasi 提交于
This patch fixes peer address lookup for 6loWPAN over Bluetooth Low Energy links. ADDR_LE_DEV_PUBLIC, and ADDR_LE_DEV_RANDOM are the values allowed for "dst_type" field in the hci_conn struct for LE links. Signed-off-by: NClaudio Takahasi <claudio.takahasi@openbossa.org> Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
-
由 Claudio Takahasi 提交于
This patch fixes the Bluetooth Low Energy Address type checking when setting Universal/Local bit for the 6loWPAN network device or for the peer device connection. ADDR_LE_DEV_PUBLIC or ADDR_LE_DEV_RANDOM are the values allowed for "src_type" and "dst_type" in the hci_conn struct. The Bluetooth link type can be obtainned reading the "type" field in the same struct. Signed-off-by: NClaudio Takahasi <claudio.takahasi@openbossa.org> Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
-
由 Amitkumar Karwar 提交于
Marvell nfc device provides support for external coexistance control. It allows Device Host to inhibit the NFCC from polling when required by asserting a GPIO pin. A second pin allows the DH to have feedback on the current NFCC state. The required configuration for this feature is done in setup handler. Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Amitkumar Karwar 提交于
This patch adds NFC support for Marvell 8897 NFC-over-USB chipset. Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Amitkumar Karwar 提交于
This API can be used by drivers to send their custom configuration using SET_CONFIG NCI command to the device. Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Amitkumar Karwar 提交于
Some drivers require special configuration while initializing. This patch adds setup handler for this custom configuration. Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Amitkumar Karwar 提交于
Local general bytes returned by nfc_get_local_general_bytes() are already in correct order. We don't need to reverse them. Remove local_gb[] local array as it's not needed any more. Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com> Signed-off-by: NBing Zhao <bzhao@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Gianluca Anzolin 提交于
Remove the rfcomm_carrier_raised() definition as that function isn't used anymore. Signed-off-by: NGianluca Anzolin <gianluca@sottospazio.it> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
-
由 Gianluca Anzolin 提交于
This patch fixes two regressions introduced with the recent rfcomm tty rework. The current code uses the carrier_raised() method to wait for the bluetooth connection when a process opens the tty. However processes may open the port with the O_NONBLOCK flag or set the CLOCAL termios flag: in these cases the open() syscall returns immediately without waiting for the bluetooth connection to complete. This behaviour confuses userspace which expects an established bluetooth connection. The patch restores the old behaviour by waiting for the connection in rfcomm_dev_activate() and removes carrier_raised() from the tty_port ops. As a side effect the new code also fixes the case in which the rfcomm tty device is created with the flag RFCOMM_REUSE_DLC: the old code didn't call device_move() and ModemManager skipped the detection probe. Now device_move() is always called inside rfcomm_dev_activate(). Signed-off-by: NGianluca Anzolin <gianluca@sottospazio.it> Reported-by: NAndrey Vihrov <andrey.vihrov@gmail.com> Reported-by: NBeson Chow <blc+bluez@mail.vanade.com> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
-
由 Gianluca Anzolin 提交于
This is a preparatory patch which moves the rfcomm_get_device() definition before rfcomm_dev_activate() where it will be used. Signed-off-by: NGianluca Anzolin <gianluca@sottospazio.it> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
-
由 Gianluca Anzolin 提交于
This patch fixes a userspace regression introduced by the commit 29cd718b. If the rfcomm device was created with the flag RFCOMM_RELEASE_ONHUP the user space expects that the tty_port is released as soon as the last process closes the tty. The current code attempts to release the port in the function rfcomm_dev_state_change(). However it won't get a reference to the relevant tty to send a HUP: at that point the tty is already destroyed and therefore NULL. This patch fixes the regression by taking over the tty refcount in the tty install method(). This way the tty_port is automatically released as soon as the tty is destroyed. As a consequence the check for RFCOMM_RELEASE_ONHUP flag in the hangup() method is now redundant. Instead we have to be careful with the reference counting in the rfcomm_release_dev() function. Signed-off-by: NGianluca Anzolin <gianluca@sottospazio.it> Reported-by: NAlexander Holler <holler@ahsoftware.de> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
-
由 Arend van Spriel 提交于
The SDIO identifier for Broadcom WLAN devices were defined in the brcmfmac SDIO driver. Moving the definitions in MMC header file seems common sense. Reviewed-by: NHante Meuleman <meuleman@broadcom.com> Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-
由 Arend van Spriel 提交于
The destructor for net devices was set to free_netdev() to get rid of it and the private data. The private data refers to a brcmf_if instance, but indirectly it also refers to brcmf_cfg80211_vif which holds the wdev. This is freed as well by using a new custom destructor called brcmf_cfg80211_free_netdev(). Reviewed-by: NHante Meuleman <meuleman@broadcom.com> Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
-