#ifndef PROC_H #define PROC_H #include #include #include #include extern void cpu_affinity(int cpu); extern int set_proc_prio(int prio); extern int set_sched_status(int policy, int priority); extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len); extern int proc_exec(const char *proc, char *const argv[]); extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t *pid); extern bool proc_exists(pid_t pid); #endif /* PROC_H */ vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-12-02 10:04:49 +0100
committerLuca Coelho <luciano.coelho@intel.com>2017-02-06 19:19:15 +0200
commit05e5a7e58d3f8f597ebe6f78aaa13a2656b78239 (patch)
tree79d0e223733d4cdb4c8d3cd21d14c4a1a75684ca
parentbd05a5bd6b11d7fd26a668de83c5cb996de05f8f (diff)
iwlwifi: mvm/pcie: adjust A-MSDU tx_cmd length in PCIe
Instead of setting the tx_cmd length in the mvm code, which is complicated by the fact that DQA may want to temporarily store the SKB on the side, adjust the length in the PCIe code which also knows about this since it's responsible for duplicating all those headers that are account for in this code. As the PCIe code already relies on the tx_cmd->len field, this doesn't really introduce any new dependencies. To make this possible we need to move the memcpy() of the TX command until after it was updated. This does even simplify the code though, since the PCIe code already does a lot of manipulations to build A-MSDUs correctly and changing the length becomes a simple operation to see how much was added/removed, rather than predicting it. Fixes: 24afba7690e4 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>