If read function is waiting for interrupt and after that
NFCC goes to recovery, MW will call ioctl (0) and ioctl (1),
In ioctl (0) call we are disabling interrupt so read function
was waiting for interrupt and ioctl call has disabled interrupt,
now there is no possibility interrupt will be enabled again
because only read function enables the interrupt.
Enabled interrupt in ioctl (1) so that we can receive data
after reset/recovery.
Change-Id: I1677a50129534b1eaa4b8c20820a15db299cd9c1
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
Some platforms don't configure qcom,secondary-pon-reset like 8998.
So set boot_reason when "qcom,system-reset" node exists to avoid
setting a wrong value to boot_reason.
CRs-Fixed: 1102732
Change-Id: I9e9ff2f2d0ffac6baa5d0663664001eb30638e87
Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>
Add IPA stats support on AP+STA mode for V2 driver
when CNE queries. Also add metering funtionality
on WIFI interface to stop the data transfer
when quota reached on WIFI-case.
Change-Id: I51a771423e6a35ea0453b978be484d0464bddf14
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
nt36850 wqhd command panel will be used for sdm660 QRD,
so enable it for sdm660 QRD.
CRs-Fixed: 1107352
Change-Id: Ia7a691949bfef8777f78e846b6fb92e01658441f
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
Add TLB dump entries to setup memory space for the cpuss dump
driver to dump TLB entries.
Change-Id: I7514969c1540d18d2102088b43d959adec68152f
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
GPU RBCPR clocks needs to registered separately, as GFX CPR would require
the rbcpr clocks to register the regulator handle.
Change-Id: I59def76e7dd69600be8faf47eb867a97ab04739e
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Following are the changes made:
1. Add CLK_IGNORE_UNUSED flag for some clocks which are not
supposed to be disabled at late_init_level.
2. Fix clock measure debug mux value for mmcc clocks.
3. Add mmss_mdss_byte1_intf_div_clk for mdp.
4. Fix usb ref clocks to branch voted.
Change-Id: I06396c73f7855acfac283abe576e0b4cc1a92bd5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
qpnp_pin_debugfs_create() is going through all the child nodes
to create debugfs entries whereas the allocation for q_spec is
made only for available child nodes. This leads to a null pointer
access when CONFIG_GPIO_QPNP_PIN_DEBUG is selected in defconfig.
Fix it by using number of gpios available under each gpio chip
which was populated from the available child count already.
Change-Id: I17cbeeba158d34180763087103da4b03e01f7c90
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add 710MHz to A540 GPU power level on msmcobaltv2 as per
the hardware recommendation.
CRs-Fixed: 1085733
Change-Id: Iceff8329caf939ad3b34d6a750f056026853c76a
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
Add control via ADM set PP Params to control volume of ICC
through a mixer command "Internal ICC Volume".
CRs-fixed: 1025376
Change-Id: I2b7099fe6d3a510859af42f1ac37a6db6e1b453c
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add pinctrl configuration in device tree to support USB type-C
analog audio on msm8998 target.
CRs-Fixed: 1102048
Change-Id: I8d531ecb8bf267ddcc1cd0702c62728dd6317118
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Current ATH10k driver snapshot is very old, up merge ATH10k project
to enable WCN3990 chipset in msm4.4 tree.
* remotes/origin/tmp-896bb812:
ath10k: cache calibration data when the core is stopped
ath10k: Ignore SWBA event for a vif if its marked for no beacon
ath10k: fix error return code in ahb
ath10k: support up to 64 vdevs
ath10k: document cycle count related counters
ath10k: fix typo in logging message
ath10k: fix rfc1042 header retrieval in QCA4019 with eth decap mode
ath10k: do not check if reset is NULL
ath10k: use devm_reset_control_get() instead of reset_control_get()
ath10k: use devm_clk_get() instead of clk_get()
ath10k: spelling and miscellaneous neatening
ath10k: remove 4-addr padding related hw_param configuration
ath10k: properly remove padding from the start of rx payload
ath10k: add provision for Rx descriptor abstraction
ath10k: move ath10k_hw_params definition to hw.h
ath10k: improve logging message
ath10k: enable peer stats by default
ath10k: remove unused variable ar_pci
ath10k: fix memory leak on caldata on error exit path
ath10k: fix reporting channel survey data
ath10k: remove unnecessary error code assignment
ath10k: fix throughput regression in multi client mode
ath10k: implement NAPI support
ath10k: fix spelling mistake "montior" -> "monitor"
ath10k: Fix broken NULL func data frame status for 10.4
ath10k: replace config_enabled() with IS_REACHABLE()
ath10k: Added support for extended dbglog module id for 10.4
ath10k: use complete() instead complete_all()
ath10k: fix sending frame in management path in push txq logic
ath10k: improve wake_tx_queue ops performance
ath10k: suppress warnings when getting wmi WDS peer event id
ath10k: fix group privacy action frame decryption for qca4019
ath10k: hide kernel addresses from logs using %pK format specifier
ath10k: Add WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT wmi service
ath10k: fix spurious tx/rx during boot
ath10k: add wmi command barrier utility
ath10k: implement wmi echo event
ath10k: implement wmi echo command
ath10k: add testmode support for 10.4 firmware
ath10k: handle testmode events for 10.2 and 10.4 based firmware
ath10k: move firmware_swap_code_seg_info to ath10k_fw_file
ath10k: Remove driver log suggesting QCA9887 support is experimental
ath10k: fix get rx_status from htt context
tree-wide: replace config_enabled() with IS_ENABLED()
ath10k: disable wake_tx_queue for older devices
ath10k: fix possible wrong rx_busy time reporting in QCA4019
ath10k: replace warning with an error message if HTT op version is unset
ath10k: enable support for QCA9888
ath10k: remove unused member in ath10k_hw_regs
ath10k: Clean up peer when sta goes away.
ath10k: Add WARN_ON if we over-write peer-map pointer.
ath10k: remove extra space on ath10k_update_channel_list
ath10k: simplify pktlog htt event processing
ath10k: remove unused <linux/semaphore.h>
ath10k: ensure peer_map references are cleaned up
ath10k: ensure txrx-compl-task is stopped when cleaning htt-tx
ath10k: remove debugfs support for Per STA total rx duration
ath10k: add support for ath10k_sta_statistics support
ath10k: fix 10.4 extended peer stats update
mac80211: Add support for beacon report radio measurement
ath10k: fix some typo in spectral code commments
ath10k: disable TX_STBC for tx chainmask of 1
ath10k: enable beacon loss detection support for 10.4
ath10k: fix potential null dereference bugs
ath10k: remove unneccessary WARN_ON_ONCE in rx during ACS
ath10k: fix crash during card removal
ath10k: fix deadlock while processing rx_in_ord_ind
ath10k: fix cycle counter wraparound handling for QCA4019
ath10k: define an enum to enable cycle counter wraparound logic
ath10k: fix CCK h/w rates for QCA99X0 and newer chipsets
ath10k: remove duplicate and unused rx rate flags
ath10k: fix some of the macro definitions of HTT_RX_IND message
ath10k: fix crash related to printing features
ath10k: add board data download from target
ath10k: add QCA9887 chipset support
ath10k: fix deadlock when peer cannot be created
ath10k: enable ipq4019 device probe in ahb module
ath10k: add pdev param support to enable/disable btcoex
ath10k: add new ATH10K_FW_FEATURE_BTCOEX_PARAM
ath10k: update module description
ath10k: remove unused phy_mode_to_band
ath10k: fix operating irq mode for ahb device
ath10k: fix error while writing 'simulate_fw_crash' debugfs
ath10k: fix diag_read to collect data for larger memory
ath10k: fix legacy rate packet debug messages
ath10k: reduce warning messages during rx without proper channel context
ath10k: improve tx scheduling
ath10k: enable support for QCA9984
ath10k: define rx_ppdu_end for QCA9984
ath10k: clean up growing hw checks during safe and full reset
ath10k: move rx_location_info out of struct rx_pkt_end
ath10k: Fix survey reporting with QCA4019
ath10k: suppress warnings when getting wmi peer_rate_code_list event
ath10k: release pre_cal_file while unloading driver
ath10k: update bss channel survey information
ath10k: handle pdev_chan_info wmi event
ath10k: implement wmi_pdev_bss_chan_info_request
ath10k: add pdev bss channel info wmi definitions
ath10k: move spectral related structures under ath10k debugfs
ath10k: remove VHT capabilities from 2.4GHz
ath10k: fix a typo in ath10k_start()
ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware
ath10k: remove enum ath10k_swap_code_seg_bin_type
ath10k: switch testmode to use ath10k_core_fetch_firmware_api_n()
ath10k: move htt_op_version to struct ath10k_fw_file
ath10k: move wmi_op_version to struct ath10k_fw_file
ath10k: move fw_features to struct ath10k_fw_file
ath10k: move fw_version inside struct ath10k_fw_file
ath10k: refactor firmware images to struct ath10k_fw_components
ath10k: remove deprecated firmware API 1 support
ath10k: add dynamic tx mode switch config support for qca4019
ath10k: add some sanity checks to peer_map_event() functions
ath10k: fix return value for btcoex and peer stats debugfs
ath10k: fix parenthesis alignment
ath10k: prefer ether_addr_copy() over memcpy()
ath10k: prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp()
ath10k: prefer kernel type 'u64' over 'u_int64_t'
ath10k: fix checkpatch warnings related to spaces
ath10k: remove MSI range support
ath10k: enable set_tsf vdev command to WMI 10.4
ath10k: update 10.4 WMI vdev parameters
ath10k: add a support of set_tsf on vdev interface
ath10k: Document alloc_frag_desc_for_data_pkt config option.
cfg80211: remove enum ieee80211_band
ath10k: fix unconditional num_mpdus_ready subtraction
ath10k: remove unnecessary warning for probe response drops
ath10k: fix calibration init sequence of qca99x0
mac80211: allow not sending MIC up from driver for HW crypto
ath10k: parse Rx MAC timestamp in mgmt frame for FW 10.4
ath10k: combine txrx and replenish task
ath10k: reuse copy engine 5 (htt rx) descriptors
ath10k: cleanup copy engine receive next completion
ath10k: register ath10k_htt_htc_t2h_msg_handler
ath10k: speedup htt rx descriptor processing for rx_ind
ath10k: cleanup amsdu processing for rx indication
ath10k: remove unused fw_desc processing
ath10k: copy tx fetch indication message
ath10k: speedup htt rx descriptor processing for tx completion
ath10k: enable parsing per station rx duration for 10.4
ath10k: introduce Extended Resource Config support for 10.4
ath10k: enable debugfs provision to enable Peer Stats feature
ath10k: incorporate qca4019 cal data download sequence
ath10k: move cal data len to hw_params
ath10k: pass cal data location as an argument to ath10k_download_cal_{file|dt}
ath10k: fix null deref if device crashes early
ath10k: fix pull-push tx threshold handling
ath10k: fix tx hang
ath10k: advertise force AP scan feature
ath10k: free cached fw bin contents when get board id fails
ath10k: move mgmt descriptor limit handle under mgmt_tx
ath10k: handle channel change htt event
ath10k: set MAC timestamp in management Rx frame
ath10k: deliver mgmt frames from htt to monitor vifs only
ath10k: change htt tx desc/qcache peer limit config
ath10k: fix HTT Tx CE ring size
ath10k: implement push-pull tx
ath10k: keep track of queue depth per txq
ath10k: store txq in skb_cb
ath10k: implement updating shared htt txq state
ath10k: implement wake_tx_queue
ath10k: add new htt message generation/parsing logic
ath10k: add fast peer_map lookup
ath10k: maintain peer_id for each sta and vif
ath10k: refactor tx pending management
ath10k: unify txpath decision
ath10k: refactor tx code
ath10k: fix sanity check on enabling btcoex via debugfs
ath10k: reduce number of peers to support peer stats feature
ath10k: process htt rx indication as batch mode
ath10k: reduce rx_lock contention for htt rx indication
ath10k: fix erroneous return value
ath10k: add hw_rev to trace events to support pktlog
ath10k: fix pktlog in QCA99X0
ath10k: fix pointless update of peer stats list
ath10k: fix updating peer stats rx duration
ath10k: remove impossible code
ath10k: populate qca4019 fw specific wmi init params
ath10k: add qca4019 hw params
ath10k: add abstraction layer for vdev subtype
ath10k: use vif->type and vif->p2p for P2P_GO check
ath10k: update 10.4 WMI service map
ath10k: rename Mesh related service names
ath10k: expose hif ops for ahb
ath10k: add resource init and deinit in ahb
ath10k: include irq related functions in ahb
ath10k: add chip and bus halt logic in ahb
ath10k: add reset ctrl related functions in ahb
ath10k: add clock ctrl related functions in ahb
ath10k: add helper functions in ahb.c for reg rd/wr
ath10k: include qca4019 register map table
ath10k: add basic skeleton to support ahb
ath10k: pull reusable code from pci probe and remove for ahb
ath10k: make ath10k_pci_read32/write32() ops more generic
ath10k: make some of ath10k_pci_* func reusable
ath10k: implement basic support for new tx path firmware
ath10k: clean up cont frag desc init code
ath10k: add new FW_FEATURE_PEER_FLOW_CONTROL
ath10k: add new htt definitions
ath10k: rename some HTT events
ath10k: remove the p2p notice of absence info from 10.2.4 FW beacon info
ath10k: add debugfs support for Per STA total rx duration
ath10k: enable periodic peer stats update
ath10k: provision to support periodic peer stats update
ath10k: rename few function names of firmware stats
ath10k: cleanup setting pdev paramaters
ath10k: fix naming Peer stats rssi_changed field in 10.2.4
ath10k: add support for parsing per STA rx_duration for 10.2.4
ath10k: prevent txrx running for too long
mac80211: pass block ack session timeout to to driver
ath10k: set SM power save disabled to default value
ath10k: reduce indentation by moving powersave check within function
ath10k: wake up device before accessing registers
ath10k: allow Mesh Point to install peer security key
ath10k: do not use coherent memory for allocated device memory chunks
ath10k: remove unnecessary amsdu/ampdu assignment in debugfs
ath10k: implement fw_checksums debugfs file
ath10k: print crc32 checksums for firmware and board files
ath10k: split driver info messages during device initialisation
ath10k: always show bmi chip ids and subdevice ids
ath10k: reorganise hardware and firmware info messages
ath10k: fix otp board id error message
ath10k: apply Mesh subtype when Mesh interface created.
ath10k: introduce new subtypes for proxy STA and Mesh
ath10k: update WMI 10.x service map
ath10k: Fix write permission on few debugfs files
ath10k: stop abusing GFP_DMA
ath10k: Enable AP + STA interface combination support for 10.x
ath10k: fix board data fetch error message
ath10k: Fix build with CONFIG_THERMAL=m
ath10k: store msdu_id instead of txbuf pointers
ath10k: replace vdev_id and tid in skb cb
ath10k: fix tx header parsing
ath10k: pack up flags in skb_cb
ath10k: remove freq from skb_cb
ath10k: remove is_offchan
ath10k: remove txmode from skb_cb
ath10k: rename function to adhere to naming convention
ath10k: merge is_protected with nohwcrypt
ath10k: adjust the RX packet pad offset at QCA99X0 4addr mode
ath10k: fix the wrong RX rate idx report at 11G mode
ath10k: fix peerid configuration in htt tx desc for htt version < 3.4
ath10k: rename the helper which is used for off-channel tx
ath10k: fix peer assoc complete WMI command for 10.4
ath10k: add support for pktlog in QCA99X0
ath10k: debugfs file to enable Bluetooth coexistence feature
ath10k: add new pdev params defines to 10.4
ath10k: add new WMI cmd/event defines for 10.4
ath10k: add new service defines for 10.4
ath10k: add thermal throttling support for 10.4 firmware
ath10k: set peer MFP flag in peer assoc command
ath10k: add abstraction layer for peer flags
ath10k: consolidate if statements in ath10k_wmi_event_mgmt_rx
Change-Id: I22c4c7c5791079b17545ef7457c54bb60fcfca80
Signed-off-by: Govind Singh <govinds@codeaurora.org>
SDM660 has LPI (and not SSC) which uses "rwlc" and "rwlm"
as the regulator resource names. Use the same.
Change-Id: I88038d0b7ae5b73e03154cf0d03c16a2fd69fc5e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>