  The broadcasting nature of the wireless medium makes exposure to
eavesdroppers a potential threat. Physical Layer Security (PLS) has been widely
recognized as a promising security measure complementary to encryption. It has
recently been demonstrated that PLS can be implemented using off-the-shelf
equipment by spectrum-programming enhanced Software-Defined Networking (SDN),
where a network controller is able to execute intelligent access point (AP)
selection algorithms such that PLS can be achieved and secrecy capacity
optimized. In this paper, we provide a basic system model for such
implementations. We also introduce a novel secrecy capacity optimization
algorithm, in which we combine intelligent AP selection with the addition of
Friendly Jamming (FJ) by the not-selected AP.
